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

Method Initialize

Common/DataModel/vtkPolyData.cxx:573–585  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Restore object to initial state. Release memory back to system.

Source from the content-addressed store, hash-verified

571//------------------------------------------------------------------------------
572// Restore object to initial state. Release memory back to system.
573void vtkPolyData::Initialize()
574{
575 vtkPointSet::Initialize();
576
577 this->Cleanup();
578
579 if (this->Information)
580 {
581 this->Information->Set(vtkDataObject::DATA_PIECE_NUMBER(), -1);
582 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_PIECES(), 0);
583 this->Information->Set(vtkDataObject::DATA_NUMBER_OF_GHOST_LEVELS(), 0);
584 }
585}
586
587//------------------------------------------------------------------------------
588int vtkPolyData::GetMaxCellSize()

Callers

nothing calls this directly

Calls 3

CleanupMethod · 0.95
InitializeFunction · 0.70
SetMethod · 0.45

Tested by

no test coverage detected