ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkTreeContainerBase.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef TreeContainerBase | Self |
typedef Object | Superclass |
typedef TValueType | ValueType |
Public Member Functions | |
virtual bool | Clear ()=0 |
virtual bool | Contains (const TValueType element)=0 |
virtual int | Count () const =0 |
virtual const char * | GetNameOfClass () const |
virtual const TreeNode < TValueType > * | GetRoot () const =0 |
virtual bool | IsLeaf (const TValueType element)=0 |
virtual bool | IsRoot (const TValueType element)=0 |
virtual bool | SetRoot (const TValueType element)=0 |
virtual bool | SetRoot (TreeNode< TValueType > *node)=0 |
void | SetSubtree (bool val) |
Protected Member Functions | |
TreeContainerBase () | |
virtual | ~TreeContainerBase () |
Protected Attributes | |
bool | m_SubTree |
A base class for tree containers.
Definition at line 34 of file itkTreeContainerBase.h.
typedef SmartPointer< const Self > itk::TreeContainerBase< TValueType >::ConstPointer |
Reimplemented from itk::Object.
Reimplemented in itk::SpatialObjectTreeContainer< TDimension >, itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
Definition at line 41 of file itkTreeContainerBase.h.
typedef SmartPointer< Self > itk::TreeContainerBase< TValueType >::Pointer |
Reimplemented from itk::Object.
Reimplemented in itk::SpatialObjectTreeContainer< TDimension >, itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
Definition at line 40 of file itkTreeContainerBase.h.
typedef TreeContainerBase itk::TreeContainerBase< TValueType >::Self |
Smart pointer typedef support.
Reimplemented from itk::Object.
Reimplemented in itk::SpatialObjectTreeContainer< TDimension >, itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
Definition at line 39 of file itkTreeContainerBase.h.
typedef Object itk::TreeContainerBase< TValueType >::Superclass |
Reimplemented from itk::Object.
Reimplemented in itk::SpatialObjectTreeContainer< TDimension >, itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
Definition at line 38 of file itkTreeContainerBase.h.
typedef TValueType itk::TreeContainerBase< TValueType >::ValueType |
Reimplemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
Definition at line 43 of file itkTreeContainerBase.h.
itk::TreeContainerBase< TValueType >::TreeContainerBase | ( | ) | [inline, protected] |
Definition at line 77 of file itkTreeContainerBase.h.
virtual itk::TreeContainerBase< TValueType >::~TreeContainerBase | ( | ) | [inline, protected, virtual] |
Definition at line 78 of file itkTreeContainerBase.h.
virtual bool itk::TreeContainerBase< TValueType >::Clear | ( | ) | [pure virtual] |
Clear the tree
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual bool itk::TreeContainerBase< TValueType >::Contains | ( | const TValueType | element | ) | [pure virtual] |
Return true if the tree contains the element
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual int itk::TreeContainerBase< TValueType >::Count | ( | ) | const [pure virtual] |
Return the number of nodes in the tree
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual const char* itk::TreeContainerBase< TValueType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Object.
Reimplemented in itk::SpatialObjectTreeContainer< TDimension >, itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual const TreeNode< TValueType >* itk::TreeContainerBase< TValueType >::GetRoot | ( | ) | const [pure virtual] |
Get the root as a node
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual bool itk::TreeContainerBase< TValueType >::IsLeaf | ( | const TValueType | element | ) | [pure virtual] |
Return if the element is a leaf
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual bool itk::TreeContainerBase< TValueType >::IsRoot | ( | const TValueType | element | ) | [pure virtual] |
Return if the element is root
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual bool itk::TreeContainerBase< TValueType >::SetRoot | ( | const TValueType | element | ) | [pure virtual] |
Set the root element. A new node is created and the element is added to the node
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
virtual bool itk::TreeContainerBase< TValueType >::SetRoot | ( | TreeNode< TValueType > * | node | ) | [pure virtual] |
Set the root has a node
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
void itk::TreeContainerBase< TValueType >::SetSubtree | ( | bool | val | ) | [inline] |
Set if the tree is a subtree
Definition at line 74 of file itkTreeContainerBase.h.
bool itk::TreeContainerBase< TValueType >::m_SubTree [protected] |
Definition at line 79 of file itkTreeContainerBase.h.
Referenced by itk::TreeContainerBase< itk::SpatialObject< TDimension > * >::SetSubtree().