Go to the documentation of this file.
28 #ifndef vtkCollectionIterator_h
29 #define vtkCollectionIterator_h
31 #include "vtkCommonCoreModule.h"
int IsDoneWithTraversal()
Test whether the iterator is currently positioned at a valid item.
virtual void SetCollection(vtkCollection *)
Set/Get the collection over which to iterate.
abstract base class for most VTK objects
void GoToFirstItem()
Position the iterator at the first item in the collection.
~vtkCollectionIterator() override
create and manipulate unsorted lists of objects
void InitTraversal()
Position the iterator at the first item in the collection.
iterator through a vtkCollection.
a simple class to control print indentation
vtkObject * GetCurrentObject()
Get the item at the current iterator position.
void GoToNextItem()
Move the iterator to the next item in the collection.
static vtkCollectionIterator * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.