|
IGSTK
|
This class encapsulates the details of setting parent and child relationships between coordinate systems. More...
#include <igstkCoordinateSystemSetTransformResult.h>
Public Member Functions | |
| CoordinateSystemSetTransformResult () | |
| Constructor. More... | |
| CoordinateSystemSetTransformResult (const CoordinateSystemSetTransformResult &in) | |
| Copy constructor. More... | |
| const CoordinateSystemSetTransformResult & | operator= (const CoordinateSystemSetTransformResult &in) |
| Assignment operator. More... | |
| void | Clear () |
| Clears the pointers that the event is holding. More... | |
| void | Initialize (const Transform &transform, const CoordinateSystem *source, const CoordinateSystem *destination, bool isAttaching) |
| Sets the transform, source, and destination coordinate systems. More... | |
| template<class TSource , class TDestination > | |
| void | Initialize (const Transform &transform, const TSource *sourceObject, const TDestination *destinationObject, bool isAttaching) |
| Sets the transform, source, and destination coordinate systems from two given objects that respectively own coordinate systems. More... | |
| const Transform & | GetTransform () const |
| Returns the computed transform. More... | |
| const CoordinateSystem * | GetSource () const |
| Returns the source coordinate system. More... | |
| const CoordinateSystem * | GetDestination () const |
| Returns the destination coordinate system. More... | |
| bool | IsAttach () const |
| Returns whether this result is being used for attach or detach. More... | |
This class encapsulates the details of setting parent and child relationships between coordinate systems.
It is meant to be used as payload in an event that is created after a successful call to RequestSetParentAndTransform().
Definition at line 38 of file igstkCoordinateSystemSetTransformResult.h.
| igstk::CoordinateSystemSetTransformResult::CoordinateSystemSetTransformResult | ( | ) |
Constructor.
| igstk::CoordinateSystemSetTransformResult::CoordinateSystemSetTransformResult | ( | const CoordinateSystemSetTransformResult & | in | ) |
Copy constructor.
| const CoordinateSystemSetTransformResult& igstk::CoordinateSystemSetTransformResult::operator= | ( | const CoordinateSystemSetTransformResult & | in | ) |
Assignment operator.
| void igstk::CoordinateSystemSetTransformResult::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::CoordinateSystemSetTransformResult::Initialize | ( | const Transform & | transform, |
| const CoordinateSystem * | source, | ||
| const CoordinateSystem * | destination, | ||
| bool | isAttaching | ||
| ) |
Sets the transform, source, and destination coordinate systems.
|
inline |
Sets the transform, source, and destination coordinate systems from two given objects that respectively own coordinate systems.
Definition at line 69 of file igstkCoordinateSystemSetTransformResult.h.
| const Transform& igstk::CoordinateSystemSetTransformResult::GetTransform | ( | ) | const |
Returns the computed transform.
| const CoordinateSystem* igstk::CoordinateSystemSetTransformResult::GetSource | ( | ) | const |
Returns the source coordinate system.
| const CoordinateSystem* igstk::CoordinateSystemSetTransformResult::GetDestination | ( | ) | const |
Returns the destination coordinate system.
| bool igstk::CoordinateSystemSetTransformResult::IsAttach | ( | ) | const |
Returns whether this result is being used for attach or detach.
1.8.6