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