------------------------------------------------------------------------------
| 36 | |
| 37 | //------------------------------------------------------------------------------ |
| 38 | vtkIdType vtkGenericDataSet::GetNumberOfElements(int type) |
| 39 | { |
| 40 | switch (type) |
| 41 | { |
| 42 | case vtkDataObject::POINT: |
| 43 | return this->GetNumberOfPoints(); |
| 44 | |
| 45 | case vtkDataObject::CELL: |
| 46 | return this->GetNumberOfCells(); |
| 47 | |
| 48 | default: |
| 49 | return this->Superclass::GetNumberOfElements(type); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | //------------------------------------------------------------------------------ |
| 54 | void vtkGenericDataSet::PrintSelf(ostream& os, vtkIndent indent) |
nothing calls this directly
no test coverage detected