----------------------------------------------------------------------------
| 110 | |
| 111 | //---------------------------------------------------------------------------- |
| 112 | int GetNumShapes(vtkUnstructuredGrid* ug) |
| 113 | { |
| 114 | auto* cellTypes = ug->GetDistinctCellTypesArray(); |
| 115 | return cellTypes->GetNumberOfTuples(); |
| 116 | } |
| 117 | |
| 118 | //---------------------------------------------------------------------------- |
| 119 | int GetNumShapes(vtkPolyData* grid) |
no test coverage detected