ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkRootTreeIterator.h>
Public Types | |
typedef Superclass::NodeType | NodeType |
typedef TreeIteratorBase < TTreeType > | Superclass |
typedef Superclass::TreeNodeType | TreeNodeType |
typedef TTreeType | TreeType |
typedef TTreeType::ValueType | ValueType |
Public Types inherited from itk::TreeIteratorBase< TTreeType > | |
typedef TreeNodeType::ChildIdentifier | ChildIdentifier |
typedef TreeIteratorBase | Self |
Public Member Functions | |
NodeType | GetType () const |
RootTreeIterator (TreeType *tree, const TreeNodeType *start=NULL) | |
TreeIteratorBase< TTreeType > * | Clone () |
Public Member Functions inherited from itk::TreeIteratorBase< TTreeType > | |
virtual bool | Add (ValueType element) |
virtual bool | Add (int position, ValueType element) |
virtual bool | Add (TTreeType &subTree) |
virtual int | ChildPosition (ValueType element) const |
virtual TreeIteratorBase < TTreeType > * | Children () |
virtual int | Count () |
virtual int | CountChildren () const |
virtual bool | Disconnect () |
virtual const ValueType & | Get () const |
virtual TreeIteratorBase < TTreeType > * | GetChild (int number) const |
virtual TreeNodeType * | GetNode () |
virtual const TreeNodeType * | GetNode () const |
const TreeNodeType * | GetParent () const |
TreeNodeType * | GetRoot () |
const TreeNodeType * | GetRoot () const |
virtual TTreeType * | GetSubTree () const |
TTreeType * | GetTree () const |
void | GoToBegin () |
virtual bool | GoToChild (ChildIdentifier number=0) |
void | GoToEnd () |
virtual bool | GoToParent () |
virtual bool | HasChild (int number=0) const |
virtual bool | HasParent () const |
bool | IsAtBegin (void) const |
bool | IsAtEnd (void) const |
virtual bool | IsLeaf () const |
virtual bool | IsRoot () const |
const Self & | operator= (const Self &iterator) |
virtual TreeIteratorBase < TTreeType > * | Parents () |
bool | Remove () |
virtual bool | RemoveChild (int number) |
void | Set (ValueType element) |
virtual | ~TreeIteratorBase () |
Self & | operator++ () |
void | operator++ (int) |
Protected Member Functions | |
const ValueType & | Next () |
bool | HasNext () const |
Protected Member Functions inherited from itk::TreeIteratorBase< TTreeType > | |
TreeIteratorBase (TTreeType *tree, const TreeNodeType *start) | |
TreeIteratorBase (const TTreeType *tree, const TreeNodeType *start) |
Private Member Functions | |
const TreeNodeType * | FindNextNode () const |
Additional Inherited Members | |
Protected Attributes inherited from itk::TreeIteratorBase< TTreeType > | |
TreeNodeType * | m_Begin |
TreeNodeType * | m_End |
TreeNodeType * | m_Position |
const TreeNodeType * | m_Root |
TTreeType * | m_Tree |
Definition at line 26 of file itkRootTreeIterator.h.
typedef Superclass::NodeType itk::RootTreeIterator< TTreeType >::NodeType |
Enumerations
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 35 of file itkRootTreeIterator.h.
typedef TreeIteratorBase< TTreeType > itk::RootTreeIterator< TTreeType >::Superclass |
Typedefs
Definition at line 31 of file itkRootTreeIterator.h.
typedef Superclass::TreeNodeType itk::RootTreeIterator< TTreeType >::TreeNodeType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 34 of file itkRootTreeIterator.h.
typedef TTreeType itk::RootTreeIterator< TTreeType >::TreeType |
Definition at line 32 of file itkRootTreeIterator.h.
typedef TTreeType::ValueType itk::RootTreeIterator< TTreeType >::ValueType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 33 of file itkRootTreeIterator.h.
itk::RootTreeIterator< TTreeType >::RootTreeIterator | ( | TreeType * | tree, |
const TreeNodeType * | start = NULL |
||
) |
Constructor
Definition at line 62 of file itkRootTreeIterator.h.
References itk::TreeIteratorBase< TTreeType >::m_Begin, itk::TreeIteratorBase< TTreeType >::m_Position, and itk::TreeIteratorBase< TTreeType >::m_Root.
|
virtual |
Clone function
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 124 of file itkRootTreeIterator.h.
|
private |
|
virtual |
Return the type of the iterator
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 77 of file itkRootTreeIterator.h.
|
protectedvirtual |
Return true if the next node exists
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 85 of file itkRootTreeIterator.h.
References NULL.
|
protectedvirtual |
Return the next node
Go to the next node
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 98 of file itkRootTreeIterator.h.