MCPcopy Create free account
hub / github.com/Kitware/VTK / GetNumShapes

Function GetNumShapes

IO/CatalystConduit/vtkDataObjectToConduit.cxx:112–116  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

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

Callers 1

IsMixedShapeFunction · 0.85

Calls 6

GetNumberOfStripsMethod · 0.80
GetNumberOfPolysMethod · 0.80
GetNumberOfTuplesMethod · 0.45
GetNumberOfVertsMethod · 0.45
GetNumberOfLinesMethod · 0.45

Tested by

no test coverage detected