ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkPostOrderTreeIterator.h>
Public Types | |
typedef Superclass::NodeType | NodeType |
typedef PostOrderTreeIterator | Self |
typedef TreeIteratorBase < TTreeType > | Superclass |
typedef Superclass::TreeNodeType | TreeNodeType |
typedef TTreeType | TreeType |
typedef TTreeType::ValueType | ValueType |
Public Member Functions | |
NodeType | GetType () const |
PostOrderTreeIterator (TreeType *tree) | |
Protected Member Functions | |
const ValueType & | Next () |
bool | HasNext () const |
TreeIteratorBase< TTreeType > * | Clone () |
const TreeNodeType * | FindNextNode () const |
const TreeNodeType * | FindMostRightLeaf (TreeNodeType *node) const |
const TreeNodeType * | FindSister (TreeNodeType *node) const |
Definition at line 26 of file itkPostOrderTreeIterator.h.
typedef Superclass::NodeType itk::PostOrderTreeIterator< TTreeType >::NodeType |
Enumerations
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 36 of file itkPostOrderTreeIterator.h.
typedef PostOrderTreeIterator itk::PostOrderTreeIterator< TTreeType >::Self |
Typedefs
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 31 of file itkPostOrderTreeIterator.h.
typedef TreeIteratorBase< TTreeType > itk::PostOrderTreeIterator< TTreeType >::Superclass |
Definition at line 32 of file itkPostOrderTreeIterator.h.
typedef Superclass::TreeNodeType itk::PostOrderTreeIterator< TTreeType >::TreeNodeType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 35 of file itkPostOrderTreeIterator.h.
typedef TTreeType itk::PostOrderTreeIterator< TTreeType >::TreeType |
Definition at line 33 of file itkPostOrderTreeIterator.h.
typedef TTreeType::ValueType itk::PostOrderTreeIterator< TTreeType >::ValueType |
Reimplemented from itk::TreeIteratorBase< TTreeType >.
Definition at line 34 of file itkPostOrderTreeIterator.h.
itk::PostOrderTreeIterator< TTreeType >::PostOrderTreeIterator | ( | TreeType * | tree | ) |
Constructor
Definition at line 65 of file itkPostOrderTreeIterator.h.
References itk::PostOrderTreeIterator< TTreeType >::FindMostRightLeaf(), itk::TreeIteratorBase< TTreeType >::m_Begin, and itk::TreeIteratorBase< TTreeType >::m_Position.
TreeIteratorBase< TTreeType > * itk::PostOrderTreeIterator< TTreeType >::Clone | ( | ) | [virtual] |
Clone function
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 224 of file itkPostOrderTreeIterator.h.
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindMostRightLeaf | ( | TreeNodeType * | node | ) | const [protected] |
Find the most right leaf
Definition at line 186 of file itkPostOrderTreeIterator.h.
References NULL.
Referenced by itk::PostOrderTreeIterator< TTreeType >::PostOrderTreeIterator().
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindNextNode | ( | ) | const [protected] |
const PostOrderTreeIterator< TTreeType >::TreeNodeType * itk::PostOrderTreeIterator< TTreeType >::FindSister | ( | TreeNodeType * | node | ) | const [protected] |
PostOrderTreeIterator< TTreeType >::NodeType itk::PostOrderTreeIterator< TTreeType >::GetType | ( | void | ) | const [virtual] |
Get the type of the iterator
Return the type of the iterator
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 89 of file itkPostOrderTreeIterator.h.
bool itk::PostOrderTreeIterator< TTreeType >::HasNext | ( | ) | const [protected, virtual] |
Return true if the next node exists
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 97 of file itkPostOrderTreeIterator.h.
References NULL.
const PostOrderTreeIterator< TTreeType >::ValueType & itk::PostOrderTreeIterator< TTreeType >::Next | ( | ) | [protected, virtual] |
Return the next node
Go to the next node
Implements itk::TreeIteratorBase< TTreeType >.
Definition at line 110 of file itkPostOrderTreeIterator.h.