42#ifndef vtkDataObjectTreeIterator_h
43#define vtkDataObjectTreeIterator_h
45#include "vtkCommonDataModelModule.h"
138 vtkSetMacro(CurrentFlatIndex,
unsigned int);
155 friend class vtkMultiDataSetInternal;
164 vtkInternals* Internals;
165 friend class vtkInternals;
177 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.
int HasCurrentMetaData() override
Returns if the a meta-data information object is present for 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.
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