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

Method SetCells

Common/DataModel/vtkCellArray.cxx:719–723  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Specify a group of cells.

Source from the content-addressed store, hash-verified

717//------------------------------------------------------------------------------
718// Specify a group of cells.
719void vtkCellArray::SetCells(vtkIdType ncells, vtkIdTypeArray* cells)
720{
721 this->AllocateExact(ncells, cells->GetNumberOfValues() - ncells);
722 this->ImportLegacyFormat(cells);
723}
724
725//=================== End Legacy Methods =====================================
726

Callers 15

Read3DVolumeConnFastFunction · 0.45
ReadFileMethod · 0.45
ReadGeometryMethod · 0.45
CopyShapeMethod · 0.45
ReadMidpointDataMethod · 0.45
SetupOutputDataMethod · 0.45
SetupOutputDataMethod · 0.45
RequestDataMethod · 0.45
GetEntityMeshMethod · 0.45

Calls 3

AllocateExactMethod · 0.95
ImportLegacyFormatMethod · 0.95
GetNumberOfValuesMethod · 0.45

Tested by 15

TestExplicitDataSetFunction · 0.36
TestUnstructuredGridFunction · 0.36
TestPolyhedron0Function · 0.36
TestPolyhedralCellsInUGFunction · 0.36
TestBiQuadraticQuadFunction · 0.36
TestPolyhedron1Function · 0.36
CreateTetraActorFunction · 0.36
CreateTriangleStripDataFunction · 0.36