ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
itk::SpatialObjectTreeContainer< TDimension > Class Template Reference

#include <itkSpatialObjectTreeContainer.h>

+ Inheritance diagram for itk::SpatialObjectTreeContainer< TDimension >:
+ Collaboration diagram for itk::SpatialObjectTreeContainer< TDimension >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::IteratorType IteratorType
typedef SmartPointer< SelfPointer
typedef
SpatialObjectTreeContainer
< TDimension > 
Self
typedef SpatialObjectTypeSpatialObjectPointer
typedef SpatialObject< TDimension > SpatialObjectType
typedef TreeContainer
< SpatialObjectPointer
Superclass
typedef SpatialObjectTreeNode
< TDimension > 
TreeNodeType
- Public Types inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
typedef PreOrderTreeIterator
< Self
PreOrderIteratorType
typedef itk::SpatialObject
< TDimension > * 
ValueType
- Public Types inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * >
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
bool SetRoot (const SpatialObjectPointer element)
bool SetRoot (typename Superclass::TreeNodeType *node)
- Public Member Functions inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
bool Add (const itk::SpatialObject< TDimension > *child, const itk::SpatialObject< TDimension > *parent)
bool Clear ()
bool Contains (const itk::SpatialObject< TDimension > *element)
int Count () const
const TreeNodeTypeGetNode (itk::SpatialObject< TDimension > *val) const
const TreeNodeTypeGetRoot () const
bool IsLeaf (const itk::SpatialObject< TDimension > *element)
bool IsRoot (const itk::SpatialObject< TDimension > *element)
bool operator== (TreeContainer< itk::SpatialObject< TDimension > * > &tree)
virtual bool SetRoot (const itk::SpatialObject< TDimension > *element)
bool SetRoot (IteratorType &pos)
virtual bool SetRoot (TreeNode< itk::SpatialObject< TDimension > * > *node)
bool Swap (IteratorType &v, IteratorType &w)
 TreeContainer (int defaultChildrenCount)
 TreeContainer (TreeContainer< itk::SpatialObject< TDimension > * > &tree)
- Public Member Functions inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * >
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 void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () 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

Static Public Member Functions

static Pointer New ()

Protected Member Functions

 SpatialObjectTreeContainer ()
virtual ~SpatialObjectTreeContainer ()
- Protected Member Functions inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
void PrintSelf (std::ostream &os, Indent indent) const
 TreeContainer ()
virtual ~TreeContainer ()
- Protected Member Functions inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * >
 TreeContainerBase ()
virtual ~TreeContainerBase ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (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 ()

Additional Inherited Members

- Protected Attributes inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
int m_DefaultChildrenCount
TreeNodeType::Pointer m_Root
- Protected Attributes inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * >
bool m_SubTree

Detailed Description

template<unsigned int TDimension>
class itk::SpatialObjectTreeContainer< TDimension >

Array class with size defined at construction time.

This class derives from the vnl_vector<> class. Its size is assigned at construction time (run time) and can not be changed afterwards except by using assignment to another Array.

The class is templated over the type of the elements.

Template parameters for class Array:

Definition at line 47 of file itkSpatialObjectTreeContainer.h.


Member Typedef Documentation

template<unsigned int TDimension>
typedef SmartPointer< const Self > itk::SpatialObjectTreeContainer< TDimension >::ConstPointer
template<unsigned int TDimension>
typedef Superclass::IteratorType itk::SpatialObjectTreeContainer< TDimension >::IteratorType

Iterators typedef

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

Definition at line 62 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef SmartPointer< Self > itk::SpatialObjectTreeContainer< TDimension >::Pointer
template<unsigned int TDimension>
typedef SpatialObjectTreeContainer< TDimension > itk::SpatialObjectTreeContainer< TDimension >::Self

Smart pointer typedef support.

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

Definition at line 56 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef SpatialObjectType* itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectPointer

Definition at line 54 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef SpatialObject< TDimension > itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectType

Standard typedefs

Definition at line 53 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef TreeContainer< SpatialObjectPointer > itk::SpatialObjectTreeContainer< TDimension >::Superclass

Standard typedefs

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

Definition at line 55 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef SpatialObjectTreeNode< TDimension > itk::SpatialObjectTreeContainer< TDimension >::TreeNodeType

Constructor & Destructor Documentation

template<unsigned int TDimension>
itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectTreeContainer ( )
protected
template<unsigned int TDimension>
virtual itk::SpatialObjectTreeContainer< TDimension >::~SpatialObjectTreeContainer ( )
protectedvirtual

Member Function Documentation

template<unsigned int TDimension>
virtual::itk::LightObject::Pointer itk::SpatialObjectTreeContainer< TDimension >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

template<unsigned int TDimension>
virtual const char* itk::SpatialObjectTreeContainer< TDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

template<unsigned int TDimension>
static Pointer itk::SpatialObjectTreeContainer< TDimension >::New ( )
static

Method for creation through the object factory.

Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.

template<unsigned int TDimension>
bool itk::SpatialObjectTreeContainer< TDimension >::SetRoot ( const SpatialObjectPointer  element)

Set the root

template<unsigned int TDimension>
bool itk::SpatialObjectTreeContainer< TDimension >::SetRoot ( typename Superclass::TreeNodeType node)
inline

Definition at line 73 of file itkSpatialObjectTreeContainer.h.


The documentation for this class was generated from the following file: