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

Method vtkUnstructuredGrid

Common/DataModel/vtkUnstructuredGrid.cxx:269–280  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

267
268//------------------------------------------------------------------------------
269vtkUnstructuredGrid::vtkUnstructuredGrid()
270{
271 this->Information->Set(vtkDataObject::DATA_EXTENT_TYPE(), VTK_PIECES_EXTENT);
272 this->Information->Set(vtkDataObject::DATA_PIECE_NUMBER(), -1);
273 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_PIECES(), 1);
274 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_GHOST_LEVELS(), 0);
275
276 this->DistinctCellTypesUpdateMTime = 0;
277 this->DistinctCellTypes = vtkSmartPointer<vtkCellTypes>::New();
278 this->Types = vtkSmartPointer<vtkUnsignedCharArray>::New();
279 this->Connectivity = vtkSmartPointer<vtkCellArray>::New();
280}
281
282//------------------------------------------------------------------------------
283vtkUnstructuredGrid::~vtkUnstructuredGrid() = default;

Calls 2

NewFunction · 0.50
SetMethod · 0.45

Tested by

no test coverage detected