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

Method AddVertex

Common/DataModel/vtkMutableUndirectedGraph.cxx:47–56  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

45
46//------------------------------------------------------------------------------
47vtkIdType vtkMutableUndirectedGraph::AddVertex()
48{
49 if (this->Internals->UsingPedigreeIds && this->GetDistributedGraphHelper() != nullptr)
50 {
51 vtkErrorMacro("Adding vertex without a pedigree ID into a distributed graph that uses pedigree "
52 "IDs to name vertices");
53 }
54
55 return this->AddVertex(nullptr);
56}
57//------------------------------------------------------------------------------
58vtkIdType vtkMutableUndirectedGraph::AddVertex(vtkVariantArray* propertyArr)
59{

Callers

nothing calls this directly

Calls 4

GetPedigreeIdsMethod · 0.80
GetVertexDataMethod · 0.80
AddVertexInternalMethod · 0.80

Tested by

no test coverage detected