ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkSpatialObjectTreeContainer.h>
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.
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 |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const TreeNodeType * | GetNode (itk::SpatialObject< TDimension > *val) const |
const TreeNodeType * | GetRoot () 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 |
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 ITK_OVERRIDE |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) ITK_OVERRIDE |
virtual void | UnRegister () const ITK_OVERRIDE |
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 |
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 Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
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 | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::SpatialObjectTreeContainer< TDimension >::ConstPointer |
Definition at line 58 of file itkSpatialObjectTreeContainer.h.
typedef Superclass::IteratorType itk::SpatialObjectTreeContainer< TDimension >::IteratorType |
Iterators typedef
Definition at line 62 of file itkSpatialObjectTreeContainer.h.
typedef SmartPointer< Self > itk::SpatialObjectTreeContainer< TDimension >::Pointer |
Definition at line 57 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectTreeContainer< TDimension > itk::SpatialObjectTreeContainer< TDimension >::Self |
Definition at line 56 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectType* itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectPointer |
Definition at line 54 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObject< TDimension > itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectType |
Standard typedefs
Definition at line 53 of file itkSpatialObjectTreeContainer.h.
typedef TreeContainer< SpatialObjectPointer > itk::SpatialObjectTreeContainer< TDimension >::Superclass |
Definition at line 55 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectTreeNode< TDimension > itk::SpatialObjectTreeContainer< TDimension >::TreeNodeType |
Definition at line 59 of file itkSpatialObjectTreeContainer.h.
|
protected |
|
protectedvirtual |
|
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.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::TreeContainer< itk::SpatialObject< TDimension > * >.
|
static |
Method for creation through the object factory.
bool itk::SpatialObjectTreeContainer< TDimension >::SetRoot | ( | const SpatialObjectPointer | element | ) |
Set the root
|
inline |
Definition at line 73 of file itkSpatialObjectTreeContainer.h.
References itk::TreeContainer< TValue >::SetRoot().