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

Method Initialize

Common/DataModel/vtkUnstructuredGrid.cxx:336–348  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

334
335//------------------------------------------------------------------------------
336void vtkUnstructuredGrid::Initialize()
337{
338 vtkPointSet::Initialize();
339
340 this->Cleanup();
341
342 if (this->Information)
343 {
344 this->Information->Set(vtkDataObject::DATA_PIECE_NUMBER(), -1);
345 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_PIECES(), 0);
346 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_GHOST_LEVELS(), 0);
347 }
348}
349
350//------------------------------------------------------------------------------
351int vtkUnstructuredGrid::GetCellType(vtkIdType cellId)

Callers 1

GetCellMethod · 0.45

Calls 3

CleanupMethod · 0.95
InitializeFunction · 0.70
SetMethod · 0.45

Tested by

no test coverage detected