Public Member Functions | Private Member Functions | Private Attributes | List of all members
karto::Transform Class Reference

#include <Karto.h>

Public Member Functions

Pose2 InverseTransformPose (const Pose2 &rSourcePose)
 
 Transform (const Pose2 &rPose)
 
 Transform (const Pose2 &rPose1, const Pose2 &rPose2)
 
Pose2 TransformPose (const Pose2 &rSourcePose)
 

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 2862 of file Karto.h.

Constructor & Destructor Documentation

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

Constructs a transformation from the origin to the given pose

Parameters
rPosepose

Definition at line 2869 of file Karto.h.

karto::Transform::Transform ( const Pose2 rPose1,
const Pose2 rPose2 
)
inline

Constructs a transformation from the first pose to the second pose

Parameters
rPose1first pose
rPose2second pose

Definition at line 2879 of file Karto.h.

Member Function Documentation

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

Inverse transformation of the pose according to this transform

Parameters
rSourcePosepose to transform from
Returns
transformed pose

Definition at line 2903 of file Karto.h.

void karto::Transform::SetTransform ( const Pose2 rPose1,
const Pose2 rPose2 
)
inlineprivate

Sets this to be the transformation from the first pose to the second pose

Parameters
rPose1first pose
rPose2second pose

Definition at line 2918 of file Karto.h.

Pose2 karto::Transform::TransformPose ( const Pose2 rSourcePose)
inline

Transforms the pose according to this transform

Parameters
rSourcePosepose to transform from
Returns
transformed pose

Definition at line 2890 of file Karto.h.

Member Data Documentation

Matrix3 karto::Transform::m_InverseRotation
private

Definition at line 2951 of file Karto.h.

Matrix3 karto::Transform::m_Rotation
private

Definition at line 2950 of file Karto.h.

Pose2 karto::Transform::m_Transform
private

Definition at line 2948 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Sat Apr 6 2019 02:22:47