#include <vtkHierarchicalDataIterator.h>
Public Types | |
typedef vtkCompositeDataIterator | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | GoToFirstItem () |
virtual void | GoToNextItem () |
virtual int | IsDoneWithTraversal () |
virtual vtkDataObject * | GetCurrentDataObject () |
void | SetDataSet (vtkHierarchicalDataSet *dataset) |
virtual vtkHierarchicalDataSet * | GetDataSet () |
Static Public Member Functions | |
static vtkHierarchicalDataIterator * | New () |
static int | IsTypeOf (const char *type) |
static vtkHierarchicalDataIterator * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkHierarchicalDataIterator () | |
virtual | ~vtkHierarchicalDataIterator () |
void | GoToNextNonEmptyLevel () |
Protected Attributes | |
vtkHierarchicalDataSet * | DataSet |
vtkHierarchicalDataIteratorInternal * | Internal |
vtkHierarchicalDataIterator is a concrete implementation of vtkCompositeDataIterator for vtkHierarchicalDataSet. It allows flat and forward access to the datasets in the hierchical dataset.
Definition at line 31 of file vtkHierarchicalDataIterator.h.
Reimplemented from vtkCompositeDataIterator.
Definition at line 36 of file vtkHierarchicalDataIterator.h.
vtkHierarchicalDataIterator::vtkHierarchicalDataIterator | ( | ) | [protected] |
virtual vtkHierarchicalDataIterator::~vtkHierarchicalDataIterator | ( | ) | [protected, virtual] |
static vtkHierarchicalDataIterator* vtkHierarchicalDataIterator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkHierarchicalDataIterator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCompositeDataIterator.
static int vtkHierarchicalDataIterator::IsTypeOf | ( | const char * | name | ) | [static] |
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 vtkCompositeDataIterator.
virtual int vtkHierarchicalDataIterator::IsA | ( | const char * | name | ) | [virtual] |
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 vtkCompositeDataIterator.
static vtkHierarchicalDataIterator* vtkHierarchicalDataIterator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCompositeDataIterator.
void vtkHierarchicalDataIterator::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
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 vtkCompositeDataIterator.
virtual void vtkHierarchicalDataIterator::GoToFirstItem | ( | ) | [virtual] |
Move the iterator to the beginning of the collection.
Implements vtkCompositeDataIterator.
virtual void vtkHierarchicalDataIterator::GoToNextItem | ( | ) | [virtual] |
Move the iterator to the next item in the collection.
Implements vtkCompositeDataIterator.
virtual int vtkHierarchicalDataIterator::IsDoneWithTraversal | ( | ) | [virtual] |
Test whether the iterator is currently pointing to a valid item. Returns 1 for yes, 0 for no.
Implements vtkCompositeDataIterator.
virtual vtkDataObject* vtkHierarchicalDataIterator::GetCurrentDataObject | ( | ) | [virtual] |
Get the current item. Valid only when IsDoneWithTraversal() returns 1.
Implements vtkCompositeDataIterator.
void vtkHierarchicalDataIterator::SetDataSet | ( | vtkHierarchicalDataSet * | dataset | ) |
Set the data object to iterator over.
virtual vtkHierarchicalDataSet* vtkHierarchicalDataIterator::GetDataSet | ( | ) | [virtual] |
Set the data object to iterator over.
void vtkHierarchicalDataIterator::GoToNextNonEmptyLevel | ( | ) | [protected] |
Definition at line 65 of file vtkHierarchicalDataIterator.h.
vtkHierarchicalDataIteratorInternal* vtkHierarchicalDataIterator::Internal [protected] |
Definition at line 66 of file vtkHierarchicalDataIterator.h.