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

Method Initialize

Common/DataModel/vtkGraph.cxx:216–228  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

214
215//------------------------------------------------------------------------------
216void vtkGraph::Initialize()
217{
218 this->ForceOwnership();
219 Superclass::Initialize();
220 this->EdgeData->Initialize();
221 this->VertexData->Initialize();
222 this->Internals->NumberOfEdges = 0;
223 this->Internals->Adjacency.clear();
224 if (this->EdgePoints)
225 {
226 this->EdgePoints->Storage.clear();
227 }
228}
229
230//------------------------------------------------------------------------------
231void vtkGraph::GetOutEdges(vtkIdType v, vtkOutEdgeIterator* it)

Callers 4

GetOutEdgesMethod · 0.45
GetInEdgesMethod · 0.45
GetAdjacentVerticesMethod · 0.45
GetInducedEdgesMethod · 0.45

Calls 3

ForceOwnershipMethod · 0.95
InitializeFunction · 0.70
clearMethod · 0.45

Tested by

no test coverage detected