Public Member Functions | Private Member Functions | Private Attributes
karto::RigidBodyTransform Class Reference

#include <RigidBodyTransform.h>

List of all members.

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

Detailed Description

Implementation of a Pose2 rigid body transform

Definition at line 36 of file RigidBodyTransform.h.


Constructor & Destructor Documentation

Transformation from the origin to the given pose

Parameters:
rPosepose

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

Parameters:
rPose1first pose
rPose2second pose

Definition at line 32 of file RigidBodyTransform.cpp.


Member Function Documentation

Inverse transformation of the pose according to this transform

Parameters:
rSourcePosepose to transform from
Returns:
transformed pose

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

Parameters:
rPose1first pose
rPose2second pose

Definition at line 37 of file RigidBodyTransform.cpp.

Transforms the pose according to this transform

Parameters:
rSourcePosepose to transform from
Returns:
transformed pose

Definition at line 58 of file RigidBodyTransform.cpp.


Member Data Documentation

Definition at line 40 of file RigidBodyTransform.h.

Definition at line 39 of file RigidBodyTransform.h.


The documentation for this class was generated from the following files:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Thu Aug 27 2015 14:07:26