54 #include "vtkCommonDataModelModule.h"
55 #include "vtkDirectedAcyclicGraph.h"
59 class VTKCOMMONDATAMODEL_EXPORT
vtkTree :
public vtkDirectedAcyclicGraph
63 vtkTypeMacro(
vtkTree, vtkDirectedAcyclicGraph);
64 void PrintSelf(ostream& os,
vtkIndent indent);
77 {
return this->GetOutDegree(v); }
87 { this->GetAdjacentVertices(v, it); }
126 virtual bool IsStructureValid(
vtkGraph *g);
133 void operator=(
const vtkTree&);
vtkIdType GetNumberOfChildren(vtkIdType v)
dynamic, self-adjusting array of vtkIdType
Base class for graph data types.
a simple class to control print indentation
void GetChildren(vtkIdType v, vtkAdjacentVertexIterator *it)
A rooted tree data structure.
virtual int GetDataObjectType()