igstk::CoordinateSystem Class Reference

This class represents the frame of a coordinate reference system. More...

#include <igstkCoordinateSystem.h>

Inheritance diagram for igstk::CoordinateSystem:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 igstkStandardClassTraitsMacro (CoordinateSystem, Object) void RequestSetTransformAndParent(const Transform &t
 Macro with standard traits declarations.
void RequestUpdateTransformToParent (const Transform &t)
void RequestGetTransformToParent ()
 Request the transform to parent.
void RequestComputeTransformTo (const CoordinateSystem *targetCoordSys)
 Request that a transform is computed to targetCoordSys This method generates three possible events: CoordinateSystemTransformToEvent CoordinateSystemTransformToNullTargetEvent CoordinateSystemTransformToDisconnectedEvent.
void RequestDetachFromParent ()
 Request that the coordinate system be detached from its parent.
 igstkSetStringMacro (Name)
 Coordinate systems have a name to facilitate future export of the scene graph as a diagram.
 igstkGetStringMacro (Name)

Public Attributes

const CoordinateSystemparent

Protected Member Functions

 CoordinateSystem (void)
 Constructor.
 ~CoordinateSystem (void)
 Destructor.
virtual void PrintSelf (std::ostream &os, itk::Indent indent) const
 Print object information.


Detailed Description

This class represents the frame of a coordinate reference system.

The class is intended to be used as an anchor relative to which you can position Spatial Objects in the graph scene. The class is not exposed to the API of IGSTK, instead it is used internally in the SpatialObject, Tracker, TrackerTool and View classes in order to provide a scaffolding in which each one of these classes can be attached as nodes of a scene graph.

http://en.wikipedia.org/wiki/Scene_graph

The following diagram illustrates the state machine of the CoordinateSystem class

igstkCoordinateSystem.png

CoordinateSystem

State Machine Diagram"

State Machine Diagram"

Definition at line 86 of file igstkCoordinateSystem.h.


Constructor & Destructor Documentation

igstk::CoordinateSystem::CoordinateSystem ( void   )  [protected]

Constructor.

igstk::CoordinateSystem::~CoordinateSystem ( void   )  [protected]

Destructor.


Member Function Documentation

igstk::CoordinateSystem::igstkStandardClassTraitsMacro ( CoordinateSystem  ,
Object   
) const

Macro with standard traits declarations.

Tries to set the parent coordinate system and the transform from this coordinate system to the parent.

void igstk::CoordinateSystem::RequestUpdateTransformToParent ( const Transform t  ) 

void igstk::CoordinateSystem::RequestGetTransformToParent (  ) 

Request the transform to parent.

void igstk::CoordinateSystem::RequestComputeTransformTo ( const CoordinateSystem targetCoordSys  ) 

Request that a transform is computed to targetCoordSys This method generates three possible events: CoordinateSystemTransformToEvent CoordinateSystemTransformToNullTargetEvent CoordinateSystemTransformToDisconnectedEvent.

CoordinateSystemTransformToEvent is returned if the transform is successfully computed. Otherwise, one of the other events is generated.

void igstk::CoordinateSystem::RequestDetachFromParent (  ) 

Request that the coordinate system be detached from its parent.

igstk::CoordinateSystem::igstkSetStringMacro ( Name   ) 

Coordinate systems have a name to facilitate future export of the scene graph as a diagram.

These macros get and set the name.

igstk::CoordinateSystem::igstkGetStringMacro ( Name   ) 

virtual void igstk::CoordinateSystem::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const [protected, virtual]

Print object information.

Reimplemented from igstk::Object.


Member Data Documentation

Definition at line 98 of file igstkCoordinateSystem.h.


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

Generated on Thu Feb 12 09:45:55 2009 for IGSTK by  doxygen 1.5.8