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

Method LazyAddVertex

Common/DataModel/vtkMutableDirectedGraph.cxx:127–136  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

125
126//------------------------------------------------------------------------------
127void vtkMutableDirectedGraph::LazyAddVertex()
128{
129 if (this->Internals->UsingPedigreeIds && this->GetDistributedGraphHelper() != nullptr)
130 {
131 vtkErrorMacro("Adding vertex without a pedigree ID into a distributed graph that uses pedigree "
132 "IDs to name vertices");
133 }
134
135 this->LazyAddVertex(nullptr);
136}
137//------------------------------------------------------------------------------
138void vtkMutableDirectedGraph::LazyAddVertex(vtkVariantArray* propertyArr)
139{

Callers

nothing calls this directly

Calls 4

GetPedigreeIdsMethod · 0.80
GetVertexDataMethod · 0.80
AddVertexInternalMethod · 0.80

Tested by

no test coverage detected