#include <itkScene.h>
Inheritance diagram for itk::Scene:
[NOHEADER] | |
virtual const char * | GetClassName () const |
Pointer | New () |
Public Types | |
typedef Scene< SpaceDimension > | Self |
typedef Object | Superclass |
typedef Superclass::Pointer | SuperclassPointer |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef SpatialObject< SpaceDimension > | ObjectType |
typedef SpatialObject< SpaceDimension > | SpatialObjectType |
typedef std::list< SpatialObject< SpaceDimension > * > | ObjectListType |
Public Methods | |
itkStaticConstMacro (MaximumDepth, unsigned int, 9999999) | |
void | AddSpatialObject (SpatialObject< SpaceDimension > *pointer) |
void | RemoveSpatialObject (SpatialObject< SpaceDimension > *object) |
ObjectListType * | GetObjects (unsigned int depth=MaximumDepth, char *name=NULL) |
unsigned int | GetNumberOfObjects (unsigned int depth=MaximumDepth, char *name=NULL) |
void | SetObjects (ObjectListType &children) |
unsigned long | GetMTime (void) const |
SpatialObject< SpaceDimension > * | GetObjectById (int Id) |
bool | FixHierarchy (void) |
void | SetParentId (int parentid) |
int | GetParentId (void) |
Protected Methods | |
Scene () | |
virtual | ~Scene () |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
ObjectListType | m_Objects |
int | m_ParentId |
This class represent a Scene object into which one can plug any kind of spatial object.
\also SpatialObject
Definition at line 38 of file itkScene.h.
|
Reimplemented from itk::Object. Definition at line 48 of file itkScene.h. |
|
Definition at line 54 of file itkScene.h. |
|
Definition at line 50 of file itkScene.h. |
|
Reimplemented from itk::Object. Definition at line 47 of file itkScene.h. |
|
Smart pointer typedef support. Reimplemented from itk::Object. Definition at line 44 of file itkScene.h. |
|
Definition at line 51 of file itkScene.h. |
|
Reimplemented from itk::Object. Definition at line 45 of file itkScene.h. |
|
Definition at line 46 of file itkScene.h. |
|
constructor |
|
destructor |
|
Add an object to the list of children. |
|
|
|
Standard part of all itk objects. Reimplemented from itk::Object. |
|
Returns the latest modified time of all the objects contained in this Scene object. Reimplemented from itk::Object. |
|
Returns the number of children currently assigned to the Scene object. |
|
Return a SpatialObject in the scene given its ID |
|
Returns a list of pointer to the children affiliated to this object. |
|
Get/Set the ParentID Definition at line 89 of file itkScene.h. References itk::Scene< SpaceDimension >::m_Objects, and itk::Scene< SpaceDimension >::m_ParentId. |
|
|
|
Method for creation through the object factory Reimplemented from itk::Object. |
|
Print the object informations in a stream. Reimplemented from itk::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. |
|
Set the list of pointers to children to the list passed as argument. |
|
Get/Set the ParentID Definition at line 88 of file itkScene.h. References itk::Scene< SpaceDimension >::m_ParentId. |
|
List of the children object plug to the Scene spatial object. Definition at line 100 of file itkScene.h. Referenced by itk::Scene< SpaceDimension >::GetParentId(). |
|
Parent ID : default = -1 Definition at line 112 of file itkScene.h. Referenced by itk::Scene< SpaceDimension >::GetParentId(), and itk::Scene< SpaceDimension >::SetParentId(). |