31#ifndef vtkTreeIterator_h
32#define vtkTreeIterator_h
34#include "vtkCommonDataModelModule.h"
a simple class to control print indentation
abstract base class for most VTK objects
Abstract class for iterator over a vtkTree.
void SetTree(vtkTree *tree)
Set/get the graph to iterate over.
vtkIdType Next()
The next vertex visited in the graph.
~vtkTreeIterator() override
bool HasNext()
Return true when all vertices have been visited.
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.
virtual vtkIdType NextInternal()=0
void Restart()
Reset the iterator to its start vertex.
virtual void Initialize()=0
A rooted tree data structure.