55 #include "vtkCommonDataModelModule.h"
144 bool IsStructureValid(
vtkGraph *g) VTK_OVERRIDE;
153 void operator=(const
vtkTree&) VTK_DELETE_FUNCTION;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType GetNumberOfChildren(vtkIdType v)
Get the number of children of a vertex.
Iterates through adjacent vertices in a graph.
static vtkDirectedAcyclicGraph * New()
dynamic, self-adjusting array of vtkIdType
virtual void GetAdjacentVertices(vtkIdType v, vtkAdjacentVertexIterator *it)
Initializes the adjacent vertex iterator to iterate over all outgoing vertices from vertex v...
Base class for graph data types.
a simple class to control print indentation
int GetDataObjectType() override
Return what type of dataset this is.
static vtkDirectedAcyclicGraph * GetData(vtkInformation *info)
Retrieve a graph from an information vector.
void GetChildren(vtkIdType v, vtkAdjacentVertexIterator *it)
Get the child vertices of a vertex.
A rooted tree data structure.
A rooted tree data structure.
virtual vtkIdType GetOutDegree(vtkIdType v)
The number of outgoing edges from vertex v.