Aria
2.7.5.2
|
A class to handle transforms between different coordinates. More...
#include <ArTransform.h>
Public Member Functions | |
ArTransform () | |
Constructor. | |
ArTransform (ArPose pose) | |
ArTransform (ArPose pose1, ArPose pose2) | |
ArPose | doInvTransform (ArPose source) |
ArPoseWithTime | doInvTransform (ArPoseWithTime source) |
ArPose | doTransform (ArPose source) |
ArPoseWithTime | doTransform (ArPoseWithTime source) |
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) | |
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... | |
virtual | ~ArTransform () |
Destructor. | |
Protected Attributes | |
double | myCos |
double | mySin |
double | myTh |
double | myX |
double | myY |
A class to handle transforms between different coordinates.
|
inline |
Constructor, Sets the transform so points in this coord system transform to abs world coords
Constructor, sets the transform so that pose1 will be transformed to pose2
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 |