ITK  4.4.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
itk::SpatialObjectTreeNode< VDimension > Class Template Reference

#include <itkSpatialObject.h>

+ Inheritance diagram for itk::SpatialObjectTreeNode< VDimension >:
+ Collaboration diagram for itk::SpatialObjectTreeNode< VDimension >:

Detailed Description

template<unsigned int VDimension>
class itk::SpatialObjectTreeNode< VDimension >

TODO.

Definition at line 56 of file itkSpatialObject.h.

Public Types

typedef
Superclass::ChildrenListType 
ChildrenListType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef SpatialObjectTreeNode
< TDimension > 
Self
 
typedef SpatialObject< TDimension > SpatialObjectType
 
typedef TreeNode
< SpatialObject< TDimension > * > 
Superclass
 
typedef const TransformTypeTransformConstPointer
 
typedef TransformType::Pointer TransformPointer
 
typedef
ScalableAffineTransform
< double, TDimension > 
TransformType
 
- Public Types inherited from itk::TreeNode< SpatialObject< TDimension > * >
typedef ::itk::OffsetValueType ChildIdentifier
 
typedef std::vector< PointerChildrenListType
 
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef TreeNode
< SpatialObject< TDimension > * > 
Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void ComputeNodeToWorldTransform ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual ChildrenListTypeGetChildren (unsigned int depth=0, char *name=NULL) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetData (SpatialObjectType *data)
 
virtual void SetNodeToParentNodeTransform (TransformType *_arg)
 
virtual const
TransformType::Pointer
GetNodeToParentNodeTransform () const
 
virtual void SetNodeToWorldTransform (TransformType *_arg)
 
virtual const
TransformType::Pointer
GetNodeToWorldTransform () const
 
- Public Member Functions inherited from itk::TreeNode< SpatialObject< TDimension > * >
void AddChild (Self *node)
 
virtual void AddChild (ChildIdentifier number, Self *node)
 
ChildIdentifier ChildPosition (const Self *node) const
 
ChildIdentifier ChildPosition (SpatialObject< TDimension > *node) const
 
ChildIdentifier CountChildren () const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const SpatialObject
< TDimension > *& 
Get () const
 
SelfGetChild (ChildIdentifier number) const
 
virtual ChildrenListTypeGetChildrenList ()
 
ChildIdentifier GetNumberOfChildren (unsigned int depth=0, char *name=NULL) const
 
SelfGetParent () const
 
bool HasChildren () const
 
bool HasParent () const
 
bool Remove (Self *n)
 
bool ReplaceChild (Self *oldChild, Self *newChild)
 
SpatialObject< TDimension > * Set (const SpatialObject< TDimension > *data)
 
void SetParent (Self *n)
 
- 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 ModifiedTimeType 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 ()
 
- Static Public Member Functions inherited from itk::TreeNode< SpatialObject< TDimension > * >
static Pointer New ()
 
- 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)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

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

Protected Attributes

TransformPointer m_NodeToParentNodeTransform
 
TransformPointer m_NodeToWorldTransform
 
- Protected Attributes inherited from itk::TreeNode< SpatialObject< TDimension > * >
ChildrenListType m_Children
 
SpatialObject< TDimension > * m_Data
 
Selfm_Parent
 

Private Member Functions

void operator= (const Self &)
 
 SpatialObjectTreeNode (const Self &)
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 

Member Typedef Documentation

template<unsigned int VDimension>
typedef Superclass::ChildrenListType itk::SpatialObjectTreeNode< VDimension >::ChildrenListType

Definition at line 47 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef SmartPointer< const Self > itk::SpatialObjectTreeNode< VDimension >::ConstPointer

Definition at line 43 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef SmartPointer< Self > itk::SpatialObjectTreeNode< VDimension >::Pointer

Definition at line 42 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef SpatialObjectTreeNode< TDimension > itk::SpatialObjectTreeNode< VDimension >::Self

Definition at line 41 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef SpatialObject< TDimension > itk::SpatialObjectTreeNode< VDimension >::SpatialObjectType

Standard typedefs

Definition at line 39 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef TreeNode< SpatialObject< TDimension > * > itk::SpatialObjectTreeNode< VDimension >::Superclass

Definition at line 40 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef const TransformType* itk::SpatialObjectTreeNode< VDimension >::TransformConstPointer

Definition at line 46 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef TransformType::Pointer itk::SpatialObjectTreeNode< VDimension >::TransformPointer

Definition at line 45 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
typedef ScalableAffineTransform< double, TDimension > itk::SpatialObjectTreeNode< VDimension >::TransformType

Definition at line 44 of file itkSpatialObjectTreeNode.h.

Constructor & Destructor Documentation

template<unsigned int VDimension>
itk::SpatialObjectTreeNode< VDimension >::SpatialObjectTreeNode ( )
protected

Constructor

template<unsigned int VDimension>
virtual itk::SpatialObjectTreeNode< VDimension >::~SpatialObjectTreeNode ( )
inlineprotectedvirtual

Constructor

Definition at line 82 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
itk::SpatialObjectTreeNode< VDimension >::SpatialObjectTreeNode ( const Self )
private

Member Function Documentation

template<unsigned int VDimension>
void itk::SpatialObjectTreeNode< VDimension >::ComputeNodeToWorldTransform ( )

Compute the NodeToWorld transform based on the parent

template<unsigned int VDimension>
virtual::itk::LightObject::Pointer itk::SpatialObjectTreeNode< VDimension >::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::Object.

template<unsigned int VDimension>
virtual ChildrenListType* itk::SpatialObjectTreeNode< VDimension >::GetChildren ( unsigned int  depth = 0,
char *  name = NULL 
) const
virtual

Return a list of children (the list should be deleted by the user

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

template<unsigned int VDimension>
virtual const char* itk::SpatialObjectTreeNode< VDimension >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

template<unsigned int VDimension>
virtual const TransformType ::Pointer& itk::SpatialObjectTreeNode< VDimension >::GetNodeToParentNodeTransform ( ) const
virtual

Set/Get the NodeToParenNode transform

template<unsigned int VDimension>
virtual const TransformType ::Pointer& itk::SpatialObjectTreeNode< VDimension >::GetNodeToWorldTransform ( ) const
virtual

Set/Get the NodeToParenNode transform

template<unsigned int VDimension>
static Pointer itk::SpatialObjectTreeNode< VDimension >::New ( )
static

Method for creation through the object factory.

template<unsigned int VDimension>
void itk::SpatialObjectTreeNode< VDimension >::operator= ( const Self )
private
template<unsigned int VDimension>
void itk::SpatialObjectTreeNode< VDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual

Constructor

Reimplemented from itk::Object.

template<unsigned int VDimension>
virtual void itk::SpatialObjectTreeNode< VDimension >::SetData ( SpatialObjectType data)
virtual

Set the SpatialObject pointer

template<unsigned int VDimension>
virtual void itk::SpatialObjectTreeNode< VDimension >::SetNodeToParentNodeTransform ( TransformType _arg)
virtual

Set/Get the NodeToParenNode transform

template<unsigned int VDimension>
virtual void itk::SpatialObjectTreeNode< VDimension >::SetNodeToWorldTransform ( TransformType _arg)
virtual

Set/Get the NodeToParenNode transform

Member Data Documentation

template<unsigned int VDimension>
TransformPointer itk::SpatialObjectTreeNode< VDimension >::m_NodeToParentNodeTransform
protected

Definition at line 86 of file itkSpatialObjectTreeNode.h.

template<unsigned int VDimension>
TransformPointer itk::SpatialObjectTreeNode< VDimension >::m_NodeToWorldTransform
protected

Definition at line 87 of file itkSpatialObjectTreeNode.h.


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