18 #ifndef itkRootTreeIterator_h 19 #define itkRootTreeIterator_h 25 template<
typename TTreeType >
49 const ValueType &
Next();
61 template<
typename TTreeType >
69 this->
m_Root = tree->GetRoot();
75 template<
typename TTreeType >
83 template<
typename TTreeType >
87 if ( const_cast< TreeNodeType * >(
FindNextNode() ) != ITK_NULLPTR )
96 template<
typename TTreeType >
106 template<
typename TTreeType >
123 template<
typename TTreeType >
Superclass::NodeType NodeType
Represents a node in a tree.
TreeIteratorBase< TTreeType > * Clone()
TTreeType::TreeNodeType TreeNodeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
RootTreeIterator(TreeType *tree, const TreeNodeType *start=nullptr)
Superclass::TreeNodeType TreeNodeType
TTreeType::ValueType ValueType
const TreeNodeType * FindNextNode() const
This class provides the base implementation for tree iterators.
TreeIteratorBase< TTreeType > Superclass
TreeNodeType * m_Position
const TreeNodeType * m_Root