ITK
4.13.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 49 of file itkSpatialObjectTreeContainer.h.
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 TreeNodeType * | GetNode (itk::SpatialObject< TDimension > *val) const |
const TreeNodeType * | GetRoot () 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 |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () 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 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 () override |
Protected Member Functions inherited from itk::TreeContainer< itk::SpatialObject< TDimension > * > | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
TreeContainer () | |
virtual | ~TreeContainer () override |
Protected Member Functions inherited from itk::TreeContainerBase< itk::SpatialObject< TDimension > * > | |
TreeContainerBase () | |
virtual | ~TreeContainerBase () 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 () |
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 |
typedef SmartPointer< const Self > itk::SpatialObjectTreeContainer< TDimension >::ConstPointer |
Definition at line 60 of file itkSpatialObjectTreeContainer.h.
typedef Superclass::IteratorType itk::SpatialObjectTreeContainer< TDimension >::IteratorType |
Iterators typedef
Definition at line 64 of file itkSpatialObjectTreeContainer.h.
typedef SmartPointer< Self > itk::SpatialObjectTreeContainer< TDimension >::Pointer |
Definition at line 59 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectTreeContainer< TDimension > itk::SpatialObjectTreeContainer< TDimension >::Self |
Definition at line 58 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectType* itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectPointer |
Definition at line 56 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObject< TDimension > itk::SpatialObjectTreeContainer< TDimension >::SpatialObjectType |
Standard typedefs
Definition at line 55 of file itkSpatialObjectTreeContainer.h.
typedef TreeContainer< SpatialObjectPointer > itk::SpatialObjectTreeContainer< TDimension >::Superclass |
Definition at line 57 of file itkSpatialObjectTreeContainer.h.
typedef SpatialObjectTreeNode< TDimension > itk::SpatialObjectTreeContainer< TDimension >::TreeNodeType |
Definition at line 61 of file itkSpatialObjectTreeContainer.h.
|
protected |
|
overrideprotectedvirtual |
|
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.
|
override |
Set the root
|
inlineoverride |
Definition at line 75 of file itkSpatialObjectTreeContainer.h.