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

#include <PoseTransform.h>

List of all members.

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

Detailed Description

Implementation of a Pose2 transform

Definition at line 34 of file PoseTransform.h.


Constructor & Destructor Documentation

Identity transformation

Definition at line 23 of file PoseTransform.cpp.

karto::Transform::Transform ( const Pose2 rPose)

Transformation from the origin to the given pose

Parameters:
rPosepose

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

Parameters:
rPose1first pose
rPose2second pose

Definition at line 33 of file PoseTransform.cpp.


Member Function Documentation

Pose2 karto::Transform::InverseTransformPose ( const Pose2 rSourcePose) const [inline]

Inverse transformation of the pose according to this transform

Parameters:
rSourcePosepose to transform from
Returns:
transformed pose

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

Parameters:
rPose1first pose
rPose2second 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

Parameters:
rSourcePosepose to transform from
Returns:
transformed pose

Definition at line 61 of file PoseTransform.h.


Member Data Documentation

Definition at line 96 of file PoseTransform.h.

Definition at line 95 of file PoseTransform.h.

Definition at line 93 of file PoseTransform.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