Aria
2.8.0
|
Perform transforms between different coordinates. More...
#include <ArTransform.h>
Public Member Functions | |
ArTransform () | |
Constructor. | |
ArTransform (ArPose pose) | |
Constructor, Sets the transform so points in this coord system transform to abs world coords. | |
ArTransform (ArPose pose1, ArPose pose2) | |
Constructor, sets the transform so that pose1 will be transformed to pose2. | |
ArPose | doInvTransform (ArPose source) |
Take the source pose and run the inverse transform on it, taking it from abs coords to local. More... | |
ArPoseWithTime | doInvTransform (ArPoseWithTime source) |
Take the source pose and run the inverse transform on it, taking it from abs coords to local. More... | |
ArPose | doTransform (ArPose source) |
Take the source pose and run the transform on it to put it into abs coordinates. More... | |
ArPoseWithTime | doTransform (ArPoseWithTime source) |
Take the source pose and run the transform on it to put it into abs coordinates. More... | |
void | doTransform (std::list< ArPose *> *poseList) |
Take a std::list of sensor readings and do the transform on it. | |
void | doTransform (std::list< ArPoseWithTime *> *poseList) |
Take a std::list of sensor readings and do the transform on it. | |
double | getTh () |
Gets the transform angle value (degrees) | |
double | getX () |
Gets the transform x value (mm) | |
double | getY () |
Gets the transform y value (mm) | |
void | setTransform (ArPose pose) |
Sets the transform so points in this coord system transform to abs world coords. More... | |
void | setTransform (ArPose pose1, ArPose pose2) |
Sets the transform so that pose1 will be transformed to pose2. More... | |
void | setTransformLowLevel (double x, double y, double th) |
Internal function for setting the transform from low level data not poses. | |
virtual | ~ArTransform () |
Destructor. | |
Protected Attributes | |
double | myCos |
double | mySin |
double | myTh |
double | myX |
double | myY |
Perform transforms between different coordinates.
Take the source pose and run the inverse transform on it, taking it from abs coords to local.
The source and result can be the same
source | the parameter to transform |
|
inline |
Take the source pose and run the inverse transform on it, taking it from abs coords to local.
The source and result can be the same
source | the parameter to transform |
Take the source pose and run the transform on it to put it into abs coordinates.
source | the parameter to transform |
|
inline |
Take the source pose and run the transform on it to put it into abs coordinates.
source | the parameter to transform |
void ArTransform::setTransform | ( | ArPose | pose | ) |
Sets the transform so points in this coord system transform to abs world coords.
pose | the coord system from which we transform to abs world coords |
Sets the transform so that pose1 will be transformed to pose2.
pose1 | transform this into pose2 |
pose2 | transform pose1 into this |