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

Method AddChild

Common/DataModel/vtkMutableDirectedGraph.cxx:200–205  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

198
199//------------------------------------------------------------------------------
200vtkIdType vtkMutableDirectedGraph::AddChild(vtkIdType parent, vtkVariantArray* propertyArr /* = 0*/)
201{
202 vtkIdType v = this->AddVertex();
203 this->AddEdge(parent, v, propertyArr);
204 return v;
205}
206
207//------------------------------------------------------------------------------
208void vtkMutableDirectedGraph::RemoveVertex(vtkIdType v)

Callers 1

AddChildFunction · 0.45

Calls 2

AddVertexMethod · 0.95
AddEdgeMethod · 0.95

Tested by

no test coverage detected