|
IGSTK
|
This class encapsulates the results of asking the coordinate reference system for a transform to another coordinate reference system. More...
#include <igstkCoordinateSystemTransformToResult.h>

Public Member Functions | |
| CoordinateSystemTransformToResult () | |
| Constructor. | |
| CoordinateSystemTransformToResult (const CoordinateSystemTransformToResult &in) | |
| Copy constructor. | |
| const CoordinateSystemTransformToResult & | operator= (const CoordinateSystemTransformToResult &in) |
| Assignment operator. | |
| void | Clear () |
| Clears the pointers that the event is holding. | |
| void | Initialize (const Transform &transform, const CoordinateSystem *source, const CoordinateSystem *destination, const CoordinateSystem *commonAncestor) |
| Sets the transform, source, and destination coordinate systems. | |
| void | Initialize (const Transform &transform, const CoordinateSystem *source, const CoordinateSystem *destination) |
| Sets the transform, source, and destination coordinate systems. | |
| template<class TSource , class TDestination > | |
| void | Initialize (const Transform &transform, const TSource *sourceObject, const TDestination *destinationObject) |
| Sets the transform, source, and destination coordinate systems from two given objects that respectively own coordinate systems. | |
| const Transform & | GetTransform () const |
| Returns the computed transform. | |
| const CoordinateSystem * | GetSource () const |
| Returns the source coordinate system. | |
| const CoordinateSystem * | GetDestination () const |
| Returns the destination coordinate system. | |
| const CoordinateSystem * | GetCommonAncestor () const |
| Returns the common ancestor coordinate system for Scene Graph. | |
This class encapsulates the results of asking the coordinate reference system for a transform to another coordinate reference system.
It is meant to be used as payload in an event that is created after a successful call to RequestTransformTo().
Definition at line 38 of file igstkCoordinateSystemTransformToResult.h.
| igstk::CoordinateSystemTransformToResult::CoordinateSystemTransformToResult | ( | ) |
Constructor.
| igstk::CoordinateSystemTransformToResult::CoordinateSystemTransformToResult | ( | const CoordinateSystemTransformToResult & | in | ) |
Copy constructor.
| const CoordinateSystemTransformToResult& igstk::CoordinateSystemTransformToResult::operator= | ( | const CoordinateSystemTransformToResult & | in | ) |
Assignment operator.
| void igstk::CoordinateSystemTransformToResult::Clear | ( | ) |
Clears the pointers that the event is holding.
This should be called after the event is received to remove unnecessary smart pointer references to coordinate systems.
| void igstk::CoordinateSystemTransformToResult::Initialize | ( | const Transform & | transform, |
| const CoordinateSystem * | source, | ||
| const CoordinateSystem * | destination, | ||
| const CoordinateSystem * | commonAncestor | ||
| ) |
Sets the transform, source, and destination coordinate systems.
| void igstk::CoordinateSystemTransformToResult::Initialize | ( | const Transform & | transform, |
| const CoordinateSystem * | source, | ||
| const CoordinateSystem * | destination | ||
| ) |
Sets the transform, source, and destination coordinate systems.
Overloaded Method.
| void igstk::CoordinateSystemTransformToResult::Initialize | ( | const Transform & | transform, |
| const TSource * | sourceObject, | ||
| const TDestination * | destinationObject | ||
| ) | [inline] |
Sets the transform, source, and destination coordinate systems from two given objects that respectively own coordinate systems.
Definition at line 75 of file igstkCoordinateSystemTransformToResult.h.
| const Transform& igstk::CoordinateSystemTransformToResult::GetTransform | ( | ) | const |
Returns the computed transform.
| const CoordinateSystem* igstk::CoordinateSystemTransformToResult::GetSource | ( | ) | const |
Returns the source coordinate system.
| const CoordinateSystem* igstk::CoordinateSystemTransformToResult::GetDestination | ( | ) | const |
Returns the destination coordinate system.
| const CoordinateSystem* igstk::CoordinateSystemTransformToResult::GetCommonAncestor | ( | ) | const |
Returns the common ancestor coordinate system for Scene Graph.
1.7.4