23 #ifndef vtkDataObjectTreeIterator_h
24 #define vtkDataObjectTreeIterator_h
26 #include "vtkCommonDataModelModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
120 vtkSetMacro(CurrentFlatIndex,
unsigned int);
137 friend class vtkMultiDataSetInternal;
146 vtkInternals* Internals;
147 friend class vtkInternals;
163 void UpdateLocation();
166 VTK_ABI_NAMESPACE_END
superclass for composite data iterators
superclass for composite data iterators
int IsDoneWithTraversal() override
Test whether the iterator is finished with the traversal.
vtkInformation * GetCurrentMetaData() override
Returns the meta-data associated with the current item.
unsigned int CurrentFlatIndex
void GoToFirstItem() override
Move the iterator to the beginning of the collection.
vtkDataObjectTreeIterator()
static vtkDataObjectTreeIterator * New()
~vtkDataObjectTreeIterator() override
void GoToNextItem() override
Move the iterator to the next item in the collection.
vtkDataObjectTreeIndex GetCurrentIndex()
Returns the index for the current data object.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
unsigned int GetCurrentFlatIndex() override
Flat index is an index obtained by traversing the tree in preorder.
vtkTypeBool HasCurrentMetaData() override
Returns if the a meta-data information object is present for the current item.
vtkDataObject * GetCurrentDataObject() override
Returns the current item.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
a simple class to control print indentation