31 #ifndef vtkTreeIterator_h
32 #define vtkTreeIterator_h
34 #include "vtkCommonDataModelModule.h"
82 virtual
void Initialize() = 0;
a simple class to control print indentation
abstract base class for most VTK objects
Abstract class for iterator over a vtkTree.
vtkIdType Next()
The next vertex visited in the graph.
~vtkTreeIterator() override
bool HasNext()
Return true when all vertices have been visited.
void SetTree(vtkTree *graph)
Set/get the graph to iterate over.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetStartVertex(vtkIdType vertex)
The start vertex of the traversal.
void Restart()
Reset the iterator to its start vertex.
A rooted tree data structure.