25 #ifndef vtkUniformGridAMRDataIterator_h 26 #define vtkUniformGridAMRDataIterator_h 28 #include "vtkCommonDataModelModule.h" 36 class AMRIndexIterator;
71 virtual unsigned int GetCurrentLevel();
77 virtual unsigned int GetCurrentIndex();
110 void GetCurrentIndexPair(
unsigned int&
level,
unsigned int&
id);
virtual int IsDoneWithTraversal()=0
Test whether the iterator is finished with the traversal.
virtual vtkInformation * GetCurrentMetaData()=0
Returns the meta-data associated with the current item.
virtual void GoToNextItem()=0
Move the iterator to the next item in the collection.
superclass for composite data iterators
virtual void GoToFirstItem()=0
Move the iterator to the beginning of the collection.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
container of vtkUniformGrid for an AMR data set
virtual vtkDataObject * GetCurrentDataObject()=0
Returns the current item.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
general representation of visualization data
virtual unsigned int GetCurrentFlatIndex()=0
Flat index is an index to identify the data in a composite data structure.