VTK
|
superclass for composite data iterators More...
#include <vtkCompositeDataIterator.h>
superclass for composite data iterators
vtkCompositeDataIterator provides an interface for accessing datasets in a collection (vtkCompositeDataIterator).
Definition at line 40 of file vtkCompositeDataIterator.h.
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
Definition at line 43 of file vtkCompositeDataIterator.h.
vtkCompositeDataIterator::vtkCompositeDataIterator | ( | ) | [protected] |
virtual vtkCompositeDataIterator::~vtkCompositeDataIterator | ( | ) | [protected, virtual] |
static int vtkCompositeDataIterator::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
virtual int vtkCompositeDataIterator::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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
static vtkCompositeDataIterator* vtkCompositeDataIterator::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
virtual vtkObjectBase* vtkCompositeDataIterator::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
Reimplemented from vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
void vtkCompositeDataIterator::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 vtkObject.
Reimplemented in vtkDataObjectTreeIterator, vtkUniformGridAMRDataIterator, and vtkHierarchicalBoxDataIterator.
virtual void vtkCompositeDataIterator::SetDataSet | ( | vtkCompositeDataSet * | ds | ) | [virtual] |
Set the composite dataset this iterator is iterating over. Must be set before traversal begins.
virtual vtkCompositeDataSet* vtkCompositeDataIterator::GetDataSet | ( | ) | [virtual] |
Set the composite dataset this iterator is iterating over. Must be set before traversal begins.
virtual void vtkCompositeDataIterator::InitTraversal | ( | ) | [virtual] |
Begin iterating over the composite dataset structure.
virtual void vtkCompositeDataIterator::InitReverseTraversal | ( | ) | [virtual] |
Begin iterating over the composite dataset structure in reverse order.
virtual void vtkCompositeDataIterator::GoToFirstItem | ( | ) | [pure virtual] |
Move the iterator to the beginning of the collection.
Implemented in vtkUniformGridAMRDataIterator, and vtkDataObjectTreeIterator.
virtual void vtkCompositeDataIterator::GoToNextItem | ( | ) | [pure virtual] |
Move the iterator to the next item in the collection.
Implemented in vtkUniformGridAMRDataIterator, and vtkDataObjectTreeIterator.
virtual int vtkCompositeDataIterator::IsDoneWithTraversal | ( | ) | [pure virtual] |
Test whether the iterator is finished with the traversal. Returns 1 for yes, and 0 for no. It is safe to call any of the GetCurrent...() methods only when IsDoneWithTraversal() returns 0.
Implemented in vtkUniformGridAMRDataIterator, and vtkDataObjectTreeIterator.
virtual vtkDataObject* vtkCompositeDataIterator::GetCurrentDataObject | ( | ) | [pure virtual] |
Returns the current item. Valid only when IsDoneWithTraversal() returns 0.
Implemented in vtkDataObjectTreeIterator, and vtkUniformGridAMRDataIterator.
virtual vtkInformation* vtkCompositeDataIterator::GetCurrentMetaData | ( | ) | [pure virtual] |
Returns the meta-data associated with the current item. This will allocate a new vtkInformation object is none is already present. Use HasCurrentMetaData to avoid unnecessary creation of vtkInformation objects.
Implemented in vtkDataObjectTreeIterator, and vtkUniformGridAMRDataIterator.
virtual int vtkCompositeDataIterator::HasCurrentMetaData | ( | ) | [pure virtual] |
Returns if the a meta-data information object is present for the current item. Return 1 on success, 0 otherwise.
Implemented in vtkDataObjectTreeIterator, and vtkUniformGridAMRDataIterator.
virtual void vtkCompositeDataIterator::SetSkipEmptyNodes | ( | int | ) | [virtual] |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
virtual int vtkCompositeDataIterator::GetSkipEmptyNodes | ( | ) | [virtual] |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
virtual void vtkCompositeDataIterator::SkipEmptyNodesOn | ( | ) | [virtual] |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
virtual void vtkCompositeDataIterator::SkipEmptyNodesOff | ( | ) | [virtual] |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
virtual unsigned int vtkCompositeDataIterator::GetCurrentFlatIndex | ( | ) | [pure virtual] |
Flat index is an index to identify the data in a composite data structure
Implemented in vtkDataObjectTreeIterator, and vtkUniformGridAMRDataIterator.
virtual int vtkCompositeDataIterator::GetReverse | ( | ) | [virtual] |
Returns if the iteration is in reverse order.
int vtkCompositeDataIterator::SkipEmptyNodes [protected] |
Definition at line 106 of file vtkCompositeDataIterator.h.
int vtkCompositeDataIterator::Reverse [protected] |
Definition at line 107 of file vtkCompositeDataIterator.h.
vtkCompositeDataSet* vtkCompositeDataIterator::DataSet [protected] |
Definition at line 108 of file vtkCompositeDataIterator.h.