33#ifndef vtkDataObjectTreeIterator_h
34#define vtkDataObjectTreeIterator_h
36#include "vtkCommonDataModelModule.h"
40VTK_ABI_NAMESPACE_BEGIN
130 vtkSetMacro(CurrentFlatIndex,
unsigned int);
147 friend class vtkMultiDataSetInternal;
156 vtkInternals* Internals;
157 friend class vtkInternals;
173 void UpdateLocation();
superclass for composite data iterators
superclass for composite data iterators
vtkDataObject * GetCurrentDataObject() override
Returns the current item.
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()
~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.
static vtkDataObjectTreeIterator * New()
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
general representation of visualization data
a simple class to control print indentation