ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkSceneSpatialObject.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef std::list < SpatialObjectPointer > | ObjectListType |
typedef SpatialObject < TSpaceDimension > | ObjectType |
typedef SmartPointer< Self > | Pointer |
typedef SceneSpatialObject < TSpaceDimension > | Self |
typedef SpatialObjectType::Pointer | SpatialObjectPointer |
typedef SpatialObject < TSpaceDimension > | SpatialObjectType |
typedef Object | Superclass |
typedef Superclass::Pointer | SuperclassPointer |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
void | AddSpatialObject (SpatialObject< TSpaceDimension > *pointer) |
bool | CheckIdValidity (void) |
void | Clear () |
bool | FixHierarchy (void) |
void | FixIdValidity (void) |
unsigned long | GetMTime (void) const |
int | GetNextAvailableId () |
unsigned int | GetNumberOfObjects (unsigned int depth=MaximumDepth, char *name=NULL) |
SpatialObject< TSpaceDimension > * | GetObjectById (int Id) |
ObjectListType * | GetObjects (unsigned int depth=MaximumDepth, char *name=NULL) |
void | RemoveSpatialObject (SpatialObject< TSpaceDimension > *object) |
void | SetObjects (ObjectListType &children) |
void | SetParentId (int parentid) |
int | GetParentId (void) |
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 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 |
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 inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
Static Public Attributes | |
static const unsigned int | MaximumDepth = 9999999 |
Protected Member Functions | |
void | operator= (const Self &) |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
SceneSpatialObject (const Self &) | |
SceneSpatialObject () | |
virtual | ~SceneSpatialObject () |
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 | |
ObjectListType | m_Objects |
int | m_ParentId |
static Pointer | New () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Additional Inherited Members |
a SceneSpatialObject has a list of SpatialObjects
This class represent a SceneSpatialObject object into which one can plug any kind of spatial object.
Definition at line 38 of file itkSceneSpatialObject.h.
typedef SmartPointer< const Self > itk::SceneSpatialObject< TSpaceDimension >::ConstPointer |
Reimplemented from itk::Object.
Definition at line 47 of file itkSceneSpatialObject.h.
typedef std::list< SpatialObjectPointer > itk::SceneSpatialObject< TSpaceDimension >::ObjectListType |
Definition at line 53 of file itkSceneSpatialObject.h.
typedef SpatialObject< TSpaceDimension > itk::SceneSpatialObject< TSpaceDimension >::ObjectType |
Definition at line 49 of file itkSceneSpatialObject.h.
typedef SmartPointer< Self > itk::SceneSpatialObject< TSpaceDimension >::Pointer |
Reimplemented from itk::Object.
Definition at line 46 of file itkSceneSpatialObject.h.
typedef SceneSpatialObject< TSpaceDimension > itk::SceneSpatialObject< TSpaceDimension >::Self |
Smart pointer typedef support.
Reimplemented from itk::Object.
Definition at line 43 of file itkSceneSpatialObject.h.
typedef SpatialObjectType::Pointer itk::SceneSpatialObject< TSpaceDimension >::SpatialObjectPointer |
Definition at line 51 of file itkSceneSpatialObject.h.
typedef SpatialObject< TSpaceDimension > itk::SceneSpatialObject< TSpaceDimension >::SpatialObjectType |
Definition at line 50 of file itkSceneSpatialObject.h.
typedef Object itk::SceneSpatialObject< TSpaceDimension >::Superclass |
Reimplemented from itk::Object.
Definition at line 44 of file itkSceneSpatialObject.h.
typedef Superclass::Pointer itk::SceneSpatialObject< TSpaceDimension >::SuperclassPointer |
Definition at line 45 of file itkSceneSpatialObject.h.
|
protected |
|
protected |
constructor
|
protectedvirtual |
destructor
void itk::SceneSpatialObject< TSpaceDimension >::AddSpatialObject | ( | SpatialObject< TSpaceDimension > * | pointer | ) |
Add an object to the list of children.
bool itk::SceneSpatialObject< TSpaceDimension >::CheckIdValidity | ( | void | ) |
void itk::SceneSpatialObject< TSpaceDimension >::Clear | ( | ) |
Clear function : Remove all the objects in the scene
|
virtual |
Method for creation through the object factory
Reimplemented from itk::Object.
bool itk::SceneSpatialObject< TSpaceDimension >::FixHierarchy | ( | void | ) |
void itk::SceneSpatialObject< TSpaceDimension >::FixIdValidity | ( | void | ) |
|
virtual |
Returns the latest modified time of all the objects contained in this SceneSpatialObject object.
Reimplemented from itk::Object.
|
virtual |
Method for creation through the object factory
Reimplemented from itk::Object.
int itk::SceneSpatialObject< TSpaceDimension >::GetNextAvailableId | ( | ) |
unsigned int itk::SceneSpatialObject< TSpaceDimension >::GetNumberOfObjects | ( | unsigned int | depth = MaximumDepth , |
char * | name = NULL |
||
) |
Returns the number of children currently assigned to the SceneSpatialObject object.
SpatialObject< TSpaceDimension >* itk::SceneSpatialObject< TSpaceDimension >::GetObjectById | ( | int | Id | ) |
Return a SpatialObject in the SceneSpatialObject given its ID
ObjectListType* itk::SceneSpatialObject< TSpaceDimension >::GetObjects | ( | unsigned int | depth = MaximumDepth , |
char * | name = NULL |
||
) |
Returns a list of pointer to the objects in the scene.
|
inline |
Get/Set the ParentID
Definition at line 92 of file itkSceneSpatialObject.h.
|
static |
Method for creation through the object factory
Reimplemented from itk::Object.
|
protected |
Mutex lock to protect modification to the reference count
Reimplemented from itk::Object.
|
protectedvirtual |
Print the object informations in a stream.
Reimplemented from itk::Object.
void itk::SceneSpatialObject< TSpaceDimension >::RemoveSpatialObject | ( | SpatialObject< TSpaceDimension > * | object | ) |
Remove the object passed as arguments from the list of children. May this function should return a false value if the object to remove is not found in the list.
void itk::SceneSpatialObject< TSpaceDimension >::SetObjects | ( | ObjectListType & | children | ) |
Set the list of pointers to children to the list passed as argument.
|
inline |
Get/Set the ParentID
Definition at line 91 of file itkSceneSpatialObject.h.
|
protected |
List of the children object plug to the SceneSpatialObject spatial object.
Definition at line 115 of file itkSceneSpatialObject.h.
|
protected |
Parent ID : default = -1
Definition at line 127 of file itkSceneSpatialObject.h.
|
static |
Definition at line 55 of file itkSceneSpatialObject.h.