#include <RigidBodyTransform.h>
Public Member Functions | |
karto::Pose2 | InverseTransformPose (const karto::Pose2 &rSourcePose) |
RigidBodyTransform (const karto::Pose2 &rPose) | |
RigidBodyTransform (const karto::Pose2 &rPose1, const karto::Pose2 &rPose2) | |
karto::Pose2 | TransformPose (const karto::Pose2 &rSourcePose) |
Private Member Functions | |
void | SetTransform (const karto::Pose2 &rPose1, const karto::Pose2 &rPose2) |
Private Attributes | |
karto::Pose2 | m_InvTransform |
karto::Pose2 | m_Transform |
Implementation of a Pose2 rigid body transform
Definition at line 36 of file RigidBodyTransform.h.
RigidBodyTransform::RigidBodyTransform | ( | const karto::Pose2 & | rPose | ) |
Transformation from the origin to the given pose
rPose | pose |
Definition at line 27 of file RigidBodyTransform.cpp.
RigidBodyTransform::RigidBodyTransform | ( | const karto::Pose2 & | rPose1, |
const karto::Pose2 & | rPose2 | ||
) |
Transformation from the first pose to the second pose
rPose1 | first pose |
rPose2 | second pose |
Definition at line 32 of file RigidBodyTransform.cpp.
karto::Pose2 RigidBodyTransform::InverseTransformPose | ( | const karto::Pose2 & | rSourcePose | ) |
Inverse transformation of the pose according to this transform
rSourcePose | pose to transform from |
Definition at line 68 of file RigidBodyTransform.cpp.
void RigidBodyTransform::SetTransform | ( | const karto::Pose2 & | rPose1, |
const karto::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 37 of file RigidBodyTransform.cpp.
karto::Pose2 RigidBodyTransform::TransformPose | ( | const karto::Pose2 & | rSourcePose | ) |
Transforms the pose according to this transform
rSourcePose | pose to transform from |
Definition at line 58 of file RigidBodyTransform.cpp.
Definition at line 40 of file RigidBodyTransform.h.
Definition at line 39 of file RigidBodyTransform.h.