41 #ifndef vtkMutableDirectedGraph_h 42 #define vtkMutableDirectedGraph_h 70 virtual vtkIdType SetNumberOfVertices( vtkIdType numVerts );
82 vtkIdType AddVertex();
119 vtkIdType AddVertex(
const vtkVariant& pedigreeId);
199 void LazyAddVertex();
226 void LazyAddVertex(
const vtkVariant& pedigreeId);
240 void LazyAddEdge(vtkIdType u, vtkIdType v,
vtkVariantArray *propertyArr =
nullptr);
254 void LazyAddEdge(
const vtkVariant& u, vtkIdType v,
269 void LazyAddEdge(vtkIdType u,
const vtkVariant& v,
310 vtkIdType AddChild(vtkIdType parent,
313 {
return this->AddChild(parent,
nullptr); }
319 void RemoveVertex(vtkIdType v);
325 void RemoveEdge(vtkIdType e);
An array holding vtkVariants.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Iterates through all edges in a graph.
Representation of a single graph edge.
dynamic, self-adjusting array of vtkIdType
A atomic type representing the union of many types.
a simple class to control print indentation
An editable directed graph.
vtkIdType AddChild(vtkIdType parent)
static vtkDirectedGraph * New()
vtkGraphEdge * GraphEdge
Graph edge that is reused of AddGraphEdge calls.
#define VTKCOMMONDATAMODEL_EXPORT