IGSTK
Public Member Functions | Protected Member Functions | List of all members
igstk::GroupObject Class Reference

Implements the 3-dimensional Group structure. More...

#include <igstkGroupObject.h>

Inheritance diagram for igstk::GroupObject:
Inheritance graph
[legend]
Collaboration diagram for igstk::GroupObject:
Collaboration graph
[legend]

Public Member Functions

void RequestAddChild (const Transform &transform, SpatialObject *child)
 Request Adding a SpatialObject to the list of children. More...
 
void RequestGetChild (unsigned long childId)
 Request to get the child identified with a given childId number. More...
 
- Public Member Functions inherited from igstk::SpatialObject
 igstkLoadedObjectEventMacro (BoundingBoxEvent, IGSTKEvent, BoundingBoxType)
 
void RequestGetBounds ()
 
void RequestGetBounds () const
 
- Public Member Functions inherited from igstk::Object
virtual const char * GetNameOfClass () const
 
void SetLogger (LoggerType *logger)
 Connect the Logger for this class. More...
 
void RemoveObserver (unsigned long tag) const
 

Protected Member Functions

 GroupObject (void)
 Constructor. More...
 
 ~GroupObject (void)
 Destructor. More...
 
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print object information. More...
 
- Protected Member Functions inherited from igstk::SpatialObject
 SpatialObject (void)
 The constructor of this class is declared protected to enforce the use of SmartPointers syntax when instantiating objects of this class. More...
 
 ~SpatialObject (void)
 The destructor should be overriden in derived classes that allocate memory for member variables. More...
 
void RequestSetInternalSpatialObject (SpatialObjectType *object)
 Replacement for RequestSetSpatialObject(). More...
 
SpatialObjectType * GetInternalSpatialObject () const
 Returns the ITK spatial object that is contained inside this IGSTK spatial object. More...
 
- Protected Member Functions inherited from igstk::Object
LoggerTypeGetLogger () const
 
 Object (void)
 Constructor is protected in order to enforce the use of the New() operator. More...
 
virtual ~Object (void)
 
void RegisterObservedObject (const ::igstk::Object *object, unsigned long tag)
 Register observed objects in an internal array so that they can be disconnected upon destruction. More...
 
void RemoveFromObservedObjects ()
 Remove observers that this object may have connected to other objects. More...
 

Additional Inherited Members

- Public Types inherited from igstk::Object
typedef Object Self
 General Typedefs. More...
 
typedef ::itk::Object Superclass
 
typedef ::itk::SmartPointer< SelfPointer
 
typedef ::itk::SmartPointer
< const Self
ConstPointer
 
typedef igstk::Logger LoggerType
 
- Static Public Member Functions inherited from igstk::Object
static Pointer New (void)
 
- Public Attributes inherited from igstk::SpatialObject
igstkStandardClassTraitsMacro(SpatialObject,
Object) public typedef
SpatialObjectType::BoundingBoxType 
BoundingBoxType
 Macro with standard traits declarations. More...
 

Detailed Description

Implements the 3-dimensional Group structure.

Overview
GroupObject implements the 3-dimensional Group structure. This spatial object keeps reference to its children, so it is possible to navigate the scene graph downwards.

Definition at line 39 of file igstkGroupObject.h.

Constructor & Destructor Documentation

igstk::GroupObject::GroupObject ( void  )
protected

Constructor.

igstk::GroupObject::~GroupObject ( void  )
protected

Destructor.

Member Function Documentation

void igstk::GroupObject::RequestAddChild ( const Transform transform,
SpatialObject child 
)

Request Adding a SpatialObject to the list of children.

Note that this method invoke the reciprocal RequestSetTransformAndParent(transform,parent) method on the child.

void igstk::GroupObject::RequestGetChild ( unsigned long  childId)

Request to get the child identified with a given childId number.

virtual void igstk::GroupObject::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protectedvirtual

Print object information.

Reimplemented from igstk::SpatialObject.


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