#include <vtkCollectionIterator.h>
Inheritance diagram for vtkCollectionIterator:
vtkCollectionIterator provides an alternative way to traverse through the objects in a vtkCollection. Unlike the collection's built in interface, this allows multiple iterators to simultaneously traverse the collection. If items are removed from the collection, only the iterators currently pointing to those items are invalidated. Other iterators will still continue to function normally.
Definition at line 45 of file vtkCollectionIterator.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | InitTraversal () |
void | GoToFirstItem () |
void | GoToNextItem () |
int | IsDoneWithTraversal () |
vtkObject * | GetObject () |
virtual void | SetCollection (vtkCollection *) |
virtual vtkCollection * | GetCollection () |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkCollectionIterator * | SafeDownCast (vtkObject *o) |
vtkCollectionIterator * | New () |
Protected Member Functions | |
vtkCollectionIterator () | |
~vtkCollectionIterator () | |
Protected Attributes | |
vtkCollection * | Collection |
vtkCollectionElement * | Element |
|
Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. Definition at line 48 of file vtkCollectionIterator.h. |
|
|
|
|
|
Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkDataArrayCollectionIterator. |
|
Set/Get the collection over which to iterate. Reimplemented in vtkDataArrayCollectionIterator. |
|
Set/Get the collection over which to iterate. |
|
Position the iterator at the first item in the collection. Definition at line 59 of file vtkCollectionIterator.h. |
|
Position the iterator at the first item in the collection. |
|
Move the iterator to the next item in the collection. |
|
Test whether the iterator is currently positioned at a valid item. Returns 1 for yes, 0 for no. |
|
Get the item at the current iterator position. Valid only when IsDoneWithTraversal() returns 1. |
|
Definition at line 80 of file vtkCollectionIterator.h. |
|
Definition at line 83 of file vtkCollectionIterator.h. |