Go to the documentation of this file.
40 #ifndef vtkMutableDirectedGraph_h
41 #define vtkMutableDirectedGraph_h
246 {
return this->AddChild(parent, 0); }
An editable directed graph.
void LazyAddVertex(const vtkVariant &pedigreeId)
vtkEdgeType AddEdge(vtkIdType u, vtkIdType v)
vtkEdgeType AddEdge(const vtkVariant &u, vtkIdType v, vtkVariantArray *propertyArr=0)
virtual vtkIdType SetNumberOfVertices(vtkIdType numVerts)
#define vtkTypeMacro(thisClass, superclass)
vtkEdgeType AddEdge(vtkIdType u, const vtkVariant &v, vtkVariantArray *propertyArr=0)
void LazyAddEdge(const vtkVariant &u, const vtkVariant &v, vtkVariantArray *propertyArr=0)
vtkEdgeType AddEdge(const vtkVariant &u, const vtkVariant &v, vtkVariantArray *propertyArr=0)
void RemoveVertices(vtkIdTypeArray *arr)
An array holding vtkVariants.
void RemoveEdges(vtkIdTypeArray *arr)
void LazyAddEdge(const vtkVariant &u, vtkIdType v, vtkVariantArray *propertyArr=0)
void PrintSelf(ostream &os, vtkIndent indent)
Representation of a single graph edge.
vtkMutableDirectedGraph()
vtkIdType AddChild(vtkIdType parent, vtkVariantArray *propertyArr)
a simple class to control print indentation
A atomic type representing the union of many types.
Iterates through all edges in a graph.
vtkIdType AddVertex(const vtkVariant &pedigreeId)
dynamic, self-adjusting array of vtkIdType
void RemoveEdge(vtkIdType e)
vtkIdType AddChild(vtkIdType parent)
void LazyAddEdge(vtkIdType u, const vtkVariant &v, vtkVariantArray *propertyArr=0)
#define VTKCOMMONDATAMODEL_EXPORT
vtkGraphEdge * AddGraphEdge(vtkIdType u, vtkIdType v)
void LazyAddVertex(vtkVariantArray *propertyArr)
void LazyAddEdge(vtkIdType u, vtkIdType v, vtkVariantArray *propertyArr=0)
vtkEdgeType AddEdge(vtkIdType u, vtkIdType v, vtkVariantArray *propertyArr)
~vtkMutableDirectedGraph()
static vtkMutableDirectedGraph * New()
void RemoveVertex(vtkIdType v)
vtkIdType AddVertex(vtkVariantArray *propertyArr)