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

Function SetPolyhedralCells

IO/CatalystConduit/vtkConduitToDataObject.cxx:1145–1152  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1143
1144//----------------------------------------------------------------------------
1145void SetPolyhedralCells(
1146 vtkUnstructuredGrid* grid, vtkCellArray* elements, vtkCellArray* subelements)
1147{
1148 vtkNew<vtkConstantUnsignedCharArray> cellTypes;
1149 cellTypes->SetNumberOfTuples(elements->GetNumberOfCells());
1150 cellTypes->ConstructBackend(VTK_POLYHEDRON);
1151 SetMixedPolyhedralCells(grid, cellTypes, elements, subelements);
1152}
1153
1154//----------------------------------------------------------------------------
1155vtkIdType GetNumberOfPointsInCellType(int vtk_cell_type)

Callers 1

Calls 3

SetMixedPolyhedralCellsFunction · 0.85
SetNumberOfTuplesMethod · 0.45
GetNumberOfCellsMethod · 0.45

Tested by

no test coverage detected