Go to the documentation of this file.
26 #ifndef vtkCompositeDataIterator_h
27 #define vtkCompositeDataIterator_h
29 #include "vtkCommonDataModelModule.h"
33 class vtkCompositeDataSetInternals;
34 class vtkCompositeDataSetIndex;
118 vtkGetMacro(Reverse,
int);
virtual void GoToFirstItem()=0
Move the iterator to the beginning of the collection.
abstract base class for most VTK objects
virtual vtkDataObject * GetCurrentDataObject()=0
Returns the current item.
abstract superclass for composite (multi-block or AMR) datasets
virtual int IsDoneWithTraversal()=0
Test whether the iterator is finished with the traversal.
virtual void SetDataSet(vtkCompositeDataSet *ds)
Set the composite dataset this iterator is iterating over.
superclass for composite data iterators
a simple class to control print indentation
vtkCompositeDataIterator()
virtual vtkInformation * GetCurrentMetaData()=0
Returns the meta-data associated with the current item.
vtkTypeBool SkipEmptyNodes
virtual void InitTraversal()
Begin iterating over the composite dataset structure.
virtual void InitReverseTraversal()
Begin iterating over the composite dataset structure in reverse order.
virtual unsigned int GetCurrentFlatIndex()=0
Flat index is an index to identify the data in a composite data structure.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCompositeDataSet * DataSet
virtual int HasCurrentMetaData()=0
Returns if the a meta-data information object is present for the current item.
general representation of visualization data
virtual void GoToNextItem()=0
Move the iterator to the next item in the collection.
~vtkCompositeDataIterator() override