ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkTreeContainerBase.h>
A base class for tree containers.
Definition at line 34 of file itkTreeContainerBase.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef TreeContainerBase | Self |
typedef Object | Superclass |
typedef TValueType | ValueType |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
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) |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual LightObject::Pointer | CreateAnother () const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Protected Member Functions | |
TreeContainerBase () | |
virtual | ~TreeContainerBase () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
bool | m_SubTree |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
typedef SmartPointer< const Self > itk::TreeContainerBase< TValueType >::ConstPointer |
Definition at line 41 of file itkTreeContainerBase.h.
typedef SmartPointer< Self > itk::TreeContainerBase< TValueType >::Pointer |
Definition at line 40 of file itkTreeContainerBase.h.
typedef TreeContainerBase itk::TreeContainerBase< TValueType >::Self |
Definition at line 39 of file itkTreeContainerBase.h.
typedef Object itk::TreeContainerBase< TValueType >::Superclass |
Definition at line 38 of file itkTreeContainerBase.h.
typedef TValueType itk::TreeContainerBase< TValueType >::ValueType |
Definition at line 43 of file itkTreeContainerBase.h.
|
inlineprotected |
Definition at line 78 of file itkTreeContainerBase.h.
|
inlineprotectedvirtual |
Definition at line 79 of file itkTreeContainerBase.h.
|
pure virtual |
Clear the tree
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
pure virtual |
Return true if the tree contains the element
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
pure virtual |
Return the number of nodes in the tree
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
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 > * >.
|
pure virtual |
Get the root as a node
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
pure virtual |
Return if the element is a leaf
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
pure virtual |
Return if the element is root
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
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 > * >.
|
pure virtual |
Set the root has a node
Implemented in itk::TreeContainer< TValueType >, and itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
inline |
Set if the tree is a subtree
Definition at line 74 of file itkTreeContainerBase.h.
|
protected |
Definition at line 80 of file itkTreeContainerBase.h.
Referenced by itk::TreeContainerBase< itk::SpatialObject< TDimension > * >::SetSubtree().