14#ifndef vtkDataObjectTreeIterator_h
15#define vtkDataObjectTreeIterator_h
17#include "vtkCommonDataModelModule.h"
21VTK_ABI_NAMESPACE_BEGIN
111 vtkSetMacro(CurrentFlatIndex,
unsigned int);
128 friend class vtkMultiDataSetInternal;
137 vtkInternals* Internals;
138 friend class vtkInternals;
154 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