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

#include <itkSpatialObjectTreeNode.h>

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

Detailed Description

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

TODO.

Definition at line 36 of file itkSpatialObjectTreeNode.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 () const
 
virtual ChildrenListTypeGetChildren (unsigned int depth=0, char *name=nullptr) const override
 
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 () const
 
const SpatialObject
< TDimension > *& 
Get () const
 
SelfGetChild (ChildIdentifier number) const
 
virtual ChildrenListTypeGetChildrenList ()
 
ChildIdentifier GetNumberOfChildren (unsigned int depth=0, char *name=nullptr) 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 ()
 
const MetaDataDictionaryGetMetaDataDictionary () 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 override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () 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 () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
- Protected Member Functions inherited from itk::TreeNode< SpatialObject< TDimension > * >
 TreeNode ()
 
virtual ~TreeNode () override
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object () override
 
- 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
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 49 of file itkSpatialObjectTreeNode.h.

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

Definition at line 45 of file itkSpatialObjectTreeNode.h.

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

Definition at line 44 of file itkSpatialObjectTreeNode.h.

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

Definition at line 43 of file itkSpatialObjectTreeNode.h.

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

Standard typedefs

Definition at line 41 of file itkSpatialObjectTreeNode.h.

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

Definition at line 42 of file itkSpatialObjectTreeNode.h.

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

Definition at line 48 of file itkSpatialObjectTreeNode.h.

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

Definition at line 47 of file itkSpatialObjectTreeNode.h.

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

Definition at line 46 of file itkSpatialObjectTreeNode.h.

Constructor & Destructor Documentation

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

Constructor

template<unsigned int TDimension>
virtual itk::SpatialObjectTreeNode< TDimension >::~SpatialObjectTreeNode ( )
inlineoverrideprotectedvirtual

Constructor

Definition at line 84 of file itkSpatialObjectTreeNode.h.

Member Function Documentation

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

Compute the NodeToWorld transform based on the parent

template<unsigned int TDimension>
virtual::itk::LightObject::Pointer itk::SpatialObjectTreeNode< TDimension >::CreateAnother ( ) 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 TDimension>
virtual ChildrenListType* itk::SpatialObjectTreeNode< TDimension >::GetChildren ( unsigned int  depth = 0,
char *  name = nullptr 
) const
overridevirtual

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

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

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

Run-time type information (and related methods).

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

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

Set/Get the NodeToParenNode transform

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

Set/Get the NodeToParenNode transform

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

Method for creation through the object factory.

template<unsigned int TDimension>
void itk::SpatialObjectTreeNode< TDimension >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Constructor

Reimplemented from itk::Object.

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

Set the SpatialObject pointer

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

Set/Get the NodeToParenNode transform

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

Set/Get the NodeToParenNode transform

Member Data Documentation

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

Definition at line 88 of file itkSpatialObjectTreeNode.h.

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

Definition at line 89 of file itkSpatialObjectTreeNode.h.


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