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

Method AddVertex

Common/DataModel/vtkMutableDirectedGraph.cxx:46–55  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

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

Callers 12

AddChildMethod · 0.95
CommitSimplificationMethod · 0.45
ToDirectedGraphMethod · 0.45
ToUndirectedGraphMethod · 0.45
TestGraphDeletionFunction · 0.45
TestGraphFunction · 0.45
TestTreeDFSIteratorFunction · 0.45
TestTreeBFSIteratorFunction · 0.45
TestGetEdgeIdFunction · 0.45
TestToDirectedGraphFunction · 0.45
TestToUndirectedGraphFunction · 0.45
TestGraphAttributesFunction · 0.45

Calls 4

GetPedigreeIdsMethod · 0.80
GetVertexDataMethod · 0.80
AddVertexInternalMethod · 0.80

Tested by 8

TestGraphDeletionFunction · 0.36
TestGraphFunction · 0.36
TestTreeDFSIteratorFunction · 0.36
TestTreeBFSIteratorFunction · 0.36
TestGetEdgeIdFunction · 0.36
TestToDirectedGraphFunction · 0.36
TestToUndirectedGraphFunction · 0.36
TestGraphAttributesFunction · 0.36