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