#include <PoseTransform.h>
Public Member Functions | |
Pose2 | InverseTransformPose (const Pose2 &rSourcePose) const |
Transform () | |
Transform (const Pose2 &rPose) | |
Transform (const Pose2 &rPose1, const Pose2 &rPose2) | |
Pose2 | TransformPose (const Pose2 &rSourcePose) const |
Private Member Functions | |
void | SetTransform (const Pose2 &rPose1, const Pose2 &rPose2) |
Private Attributes | |
Matrix3 | m_InverseRotation |
Matrix3 | m_Rotation |
Pose2 | m_Transform |
Implementation of a Pose2 transform
Definition at line 34 of file PoseTransform.h.
Identity transformation
Definition at line 23 of file PoseTransform.cpp.
karto::Transform::Transform | ( | const Pose2 & | rPose | ) |
Transformation from the origin to the given pose
rPose | pose |
Definition at line 28 of file PoseTransform.cpp.
karto::Transform::Transform | ( | const Pose2 & | rPose1, |
const Pose2 & | rPose2 | ||
) |
Transformation from the first pose to the second pose
rPose1 | first pose |
rPose2 | second pose |
Definition at line 33 of file PoseTransform.cpp.
Pose2 karto::Transform::InverseTransformPose | ( | const Pose2 & | rSourcePose | ) | const [inline] |
Inverse transformation of the pose according to this transform
rSourcePose | pose to transform from |
Definition at line 74 of file PoseTransform.h.
void karto::Transform::SetTransform | ( | const Pose2 & | rPose1, |
const Pose2 & | rPose2 | ||
) | [private] |
Sets this to be the transformation from the first pose to the second pose
rPose1 | first pose |
rPose2 | second pose |
Definition at line 38 of file PoseTransform.cpp.
Pose2 karto::Transform::TransformPose | ( | const Pose2 & | rSourcePose | ) | const [inline] |
Transforms the pose according to this transform
rSourcePose | pose to transform from |
Definition at line 61 of file PoseTransform.h.
Matrix3 karto::Transform::m_InverseRotation [private] |
Definition at line 96 of file PoseTransform.h.
Matrix3 karto::Transform::m_Rotation [private] |
Definition at line 95 of file PoseTransform.h.
Pose2 karto::Transform::m_Transform [private] |
Definition at line 93 of file PoseTransform.h.