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

#include <itkSpatialObjectTreeContainer.h>

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

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:

Examples:
Examples/SpatialObjects/SpatialObjectTreeContainer.cxx.

Definition at line 47 of file itkSpatialObjectTreeContainer.h.

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 SmartPointer< const SelfConstPointer
 
typedef TreeIteratorBase< SelfIteratorType
 
typedef SmartPointer< SelfPointer
 
typedef PreOrderTreeIterator
< Self
PreOrderIteratorType
 
typedef TreeContainer
< itk::SpatialObject
< TDimension > * > 
Self
 
typedef TreeContainerBase
< itk::SpatialObject
< TDimension > * > 
Superclass
 
typedef TreeNode< ValueTypeTreeNodeType
 
typedef itk::SpatialObject
< TDimension > * 
ValueType
 
- Public Types inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * >
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef TreeContainerBase Self
 
typedef Object Superclass
 
typedef itk::SpatialObject
< TDimension > * 
ValueType
 
- 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

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
bool SetRoot (const SpatialObjectPointer element) override
 
bool SetRoot (typename Superclass::TreeNodeType *node) override
 
- Public Member Functions inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
bool Add (const itk::SpatialObject< TDimension > *child, const itk::SpatialObject< TDimension > *parent)
 
bool Clear () override
 
bool Contains (const itk::SpatialObject< TDimension > *element) override
 
int Count () const override
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
const TreeNodeTypeGetNode (itk::SpatialObject< TDimension > *val) const
 
const TreeNodeTypeGetRoot () const override
 
bool IsLeaf (const itk::SpatialObject< TDimension > *element) override
 
bool IsRoot (const itk::SpatialObject< TDimension > *element) override
 
bool operator== (TreeContainer< itk::SpatialObject< TDimension > * > &tree)
 
virtual bool SetRoot (const itk::SpatialObject< TDimension > *element) override
 
bool SetRoot (IteratorType &pos)
 
virtual bool SetRoot (TreeNode< itk::SpatialObject< TDimension > * > *node) override
 
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 ()
 
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::TreeContainer< itk::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

 SpatialObjectTreeContainer ()
 
virtual ~SpatialObjectTreeContainer ()
 
- Protected Member Functions inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 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
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Member Typedef Documentation

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

Definition at line 58 of file itkSpatialObjectTreeContainer.h.

template<unsigned int TDimension>
typedef Superclass::IteratorType itk::SpatialObjectTreeContainer< TDimension >::IteratorType

Iterators typedef

Definition at line 62 of file itkSpatialObjectTreeContainer.h.

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

Definition at line 57 of file itkSpatialObjectTreeContainer.h.

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

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

Definition at line 55 of file itkSpatialObjectTreeContainer.h.

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

Definition at line 59 of file itkSpatialObjectTreeContainer.h.

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 ( ) 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 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.

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

Set the root

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

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