|
ITK
5.1.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkTreeContainer_h
19 #define itkTreeContainer_h
37 template <
typename TValue>
67 SetRoot(
const TValue element)
override;
79 Contains(
const TValue element)
override;
83 Count()
const override;
87 IsLeaf(
const TValue element)
override;
91 IsRoot(
const TValue element)
override;
109 return m_Root.GetPointer();
114 Add(
const TValue child,
const TValue parent);
118 GetNode(TValue val)
const;
129 PrintSelf(std::ostream & os,
Indent indent)
const override;
133 #ifndef ITK_MANUAL_INSTANTIATION
134 # include "itkTreeContainer.hxx"
Represents a node in a tree.
Control indentation during Print() invocation.
This class provides the base implementation for tree iterators.
TreeNodeType::Pointer m_Root
Light weight base class for most itk classes.
int m_DefaultChildrenCount
A base class for tree containers.
const TreeNodeType * GetRoot() const override
bool operator==(const Index< VDimension > &one, const Index< VDimension > &two)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....