|
VTK
|
superclass for composite data iterators More...
#include <vtkCompositeDataIterator.h>


Public Types | |
| typedef vtkObject | Superclass |
Public Types inherited from vtkObject | |
| typedef vtkObjectBase | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | InitTraversal () |
| virtual void | InitReverseTraversal () |
| virtual void | GoToFirstItem () |
| virtual void | GoToNextItem () |
| virtual int | IsDoneWithTraversal () |
| virtual vtkDataObject * | GetCurrentDataObject () |
| virtual vtkInformation * | GetCurrentMetaData () |
| virtual int | HasCurrentMetaData () |
| unsigned int | GetCurrentFlatIndex () |
| virtual void | SetDataSet (vtkCompositeDataSet *ds) |
| virtual vtkCompositeDataSet * | GetDataSet () |
| virtual void | SetVisitOnlyLeaves (int) |
| virtual int | GetVisitOnlyLeaves () |
| virtual void | VisitOnlyLeavesOn () |
| virtual void | VisitOnlyLeavesOff () |
| virtual void | SetTraverseSubTree (int) |
| virtual int | GetTraverseSubTree () |
| virtual void | TraverseSubTreeOn () |
| virtual void | TraverseSubTreeOff () |
| virtual void | SetSkipEmptyNodes (int) |
| virtual int | GetSkipEmptyNodes () |
| virtual void | SkipEmptyNodesOn () |
| virtual void | SkipEmptyNodesOff () |
| virtual int | GetReverse () |
Public Member Functions inherited from vtkObject | |
| virtual void | DebugOn () |
| virtual void | DebugOff () |
| unsigned char | GetDebug () |
| void | SetDebug (unsigned char debugFlag) |
| virtual void | Modified () |
| virtual unsigned long | GetMTime () |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| vtkCommand * | GetCommand (unsigned long tag) |
| void | RemoveObserver (vtkCommand *) |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| void | RemoveObservers (const char *event, vtkCommand *) |
| int | HasObserver (unsigned long event, vtkCommand *) |
| int | HasObserver (const char *event, vtkCommand *) |
| void | RemoveObserver (unsigned long tag) |
| void | RemoveObservers (unsigned long event) |
| void | RemoveObservers (const char *event) |
| void | RemoveAllObservers () |
| int | HasObserver (unsigned long event) |
| int | HasObserver (const char *event) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| template<class U , class T > | |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| int | InvokeEvent (unsigned long event, void *callData) |
| int | InvokeEvent (const char *event, void *callData) |
| int | InvokeEvent (unsigned long event) |
| int | InvokeEvent (const char *event) |
Public Member Functions inherited from vtkObjectBase | |
| const char * | GetClassName () const |
| virtual void | Delete () |
| virtual void | FastDelete () |
| void | Print (ostream &os) |
| virtual void | Register (vtkObjectBase *o) |
| virtual void | UnRegister (vtkObjectBase *o) |
| void | SetReferenceCount (int) |
| void | PrintRevisions (ostream &os) |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| int | GetReferenceCount () |
Static Public Member Functions | |
| static vtkCompositeDataIterator * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkCompositeDataIterator * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
| static void | BreakOnError () |
| static void | SetGlobalWarningDisplay (int val) |
| static void | GlobalWarningDisplayOn () |
| static void | GlobalWarningDisplayOff () |
| static int | GetGlobalWarningDisplay () |
Protected Member Functions | |
| vtkCompositeDataIterator () | |
| virtual | ~vtkCompositeDataIterator () |
| void | NextInternal () |
| vtkCompositeDataSetIndex | GetCurrentIndex () |
Protected Member Functions inherited from vtkObject | |
| vtkObject () | |
| virtual | ~vtkObject () |
| virtual void | RegisterInternal (vtkObjectBase *, int check) |
| virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
| void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
| void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
| vtkObjectBase () | |
| virtual | ~vtkObjectBase () |
| virtual void | CollectRevisions (ostream &os) |
| virtual void | ReportReferences (vtkGarbageCollector *) |
| vtkObjectBase (const vtkObjectBase &) | |
| void | operator= (const vtkObjectBase &) |
Protected Attributes | |
| unsigned int | CurrentFlatIndex |
| int | SkipEmptyNodes |
| int | TraverseSubTree |
| int | Reverse |
| int | VisitOnlyLeaves |
| vtkCompositeDataSet * | DataSet |
Protected Attributes inherited from vtkObject | |
| unsigned char | Debug |
| vtkTimeStamp | MTime |
| vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
| int | ReferenceCount |
| vtkWeakPointerBase ** | WeakPointers |
Friends | |
| class | vtkCompositeDataSet |
| class | vtkInternals |
superclass for composite data iterators
vtkCompositeDataIterator provides an interface for accessing datasets in a collection (vtkCompositeDataIterator).
Definition at line 39 of file vtkCompositeDataIterator.h.
Definition at line 43 of file vtkCompositeDataIterator.h.
|
protected |
|
protectedvirtual |
|
static |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
Reimplemented in vtkHierarchicalBoxDataIterator.
|
virtual |
Reimplemented from vtkObject.
Reimplemented in vtkHierarchicalBoxDataIterator.
|
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 vtkHierarchicalBoxDataIterator.
|
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 vtkHierarchicalBoxDataIterator.
|
static |
Reimplemented from vtkObject.
Reimplemented in vtkHierarchicalBoxDataIterator.
|
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 vtkHierarchicalBoxDataIterator.
|
virtual |
Set the composite dataset this iterator is iterating over. Must be set before traversal begins.
|
virtual |
Set the composite dataset this iterator is iterating over. Must be set before traversal begins.
|
virtual |
Begin iterating over the composite dataset structure.
|
virtual |
Begin iterating over the composite dataset structure in reverse order.
|
virtual |
Move the iterator to the beginning of the collection.
|
virtual |
Move the iterator to the next item in the collection.
|
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.
|
virtual |
Returns the current item. Valid only when IsDoneWithTraversal() returns 0.
|
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.
|
virtual |
Returns if the a meta-data information object is present for the current item. Return 1 on success, 0 otherwise.
|
virtual |
If VisitOnlyLeaves is true, the iterator will only visit nodes (sub-datasets) that are not composite. If it encounters a composite data set, it will automatically traverse that composite dataset until it finds non-composite datasets. With this options, it is possible to visit all non-composite datasets in tree of composite datasets (composite of composite of composite for example :-) ) If VisitOnlyLeaves is false, GetCurrentDataObject() may return vtkCompositeDataSet. By default, VisitOnlyLeaves is 1.
|
virtual |
If VisitOnlyLeaves is true, the iterator will only visit nodes (sub-datasets) that are not composite. If it encounters a composite data set, it will automatically traverse that composite dataset until it finds non-composite datasets. With this options, it is possible to visit all non-composite datasets in tree of composite datasets (composite of composite of composite for example :-) ) If VisitOnlyLeaves is false, GetCurrentDataObject() may return vtkCompositeDataSet. By default, VisitOnlyLeaves is 1.
|
virtual |
If VisitOnlyLeaves is true, the iterator will only visit nodes (sub-datasets) that are not composite. If it encounters a composite data set, it will automatically traverse that composite dataset until it finds non-composite datasets. With this options, it is possible to visit all non-composite datasets in tree of composite datasets (composite of composite of composite for example :-) ) If VisitOnlyLeaves is false, GetCurrentDataObject() may return vtkCompositeDataSet. By default, VisitOnlyLeaves is 1.
|
virtual |
If VisitOnlyLeaves is true, the iterator will only visit nodes (sub-datasets) that are not composite. If it encounters a composite data set, it will automatically traverse that composite dataset until it finds non-composite datasets. With this options, it is possible to visit all non-composite datasets in tree of composite datasets (composite of composite of composite for example :-) ) If VisitOnlyLeaves is false, GetCurrentDataObject() may return vtkCompositeDataSet. By default, VisitOnlyLeaves is 1.
|
virtual |
If TraverseSubTree is set to true, the iterator will visit the entire tree structure, otherwise it only visits the first level children. Set to 1 by default.
|
virtual |
If TraverseSubTree is set to true, the iterator will visit the entire tree structure, otherwise it only visits the first level children. Set to 1 by default.
|
virtual |
If TraverseSubTree is set to true, the iterator will visit the entire tree structure, otherwise it only visits the first level children. Set to 1 by default.
|
virtual |
If TraverseSubTree is set to true, the iterator will visit the entire tree structure, otherwise it only visits the first level children. Set to 1 by default.
|
virtual |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
|
virtual |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
|
virtual |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
|
virtual |
If SkipEmptyNodes is true, then NULL datasets will be skipped. Default is true.
| unsigned int vtkCompositeDataIterator::GetCurrentFlatIndex | ( | ) |
Flat index is an index obtained by traversing the tree in preorder. This can be used to uniquely identify nodes in the tree. Not valid if IsDoneWithTraversal() returns true.
|
virtual |
Returns if the iteration is in reverse order.
|
protected |
|
protected |
Returns the index for the current data object.
Reimplemented in vtkHierarchicalBoxDataIterator.
|
friend |
Definition at line 144 of file vtkCompositeDataIterator.h.
|
friend |
Definition at line 159 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 146 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 148 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 149 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 150 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 151 of file vtkCompositeDataIterator.h.
|
protected |
Definition at line 152 of file vtkCompositeDataIterator.h.
1.8.1.2