Public Member Functions | Private Member Functions | Private Attributes | Friends | 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

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 
void SetTransform (const Pose2 &rPose1, const Pose2 &rPose2)
 

Private Attributes

Matrix3 m_InverseRotation
 
Matrix3 m_Rotation
 
Pose2 m_Transform
 

Friends

class boost::serialization::access
 

Detailed Description

Implementation of a Pose2 transform

Definition at line 2976 of file Karto.h.

Constructor & Destructor Documentation

◆ Transform() [1/2]

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

Constructs a transformation from the origin to the given pose

Parameters
rPosepose

Definition at line 2983 of file Karto.h.

◆ Transform() [2/2]

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

Member Function Documentation

◆ InverseTransformPose()

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

◆ serialize()

template<class Archive >
void karto::Transform::serialize ( Archive &  ar,
const unsigned int  version 
)
inlineprivate

Definition at line 3069 of file Karto.h.

◆ SetTransform()

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

◆ TransformPose()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 3067 of file Karto.h.

Member Data Documentation

◆ m_InverseRotation

Matrix3 karto::Transform::m_InverseRotation
private

Definition at line 3065 of file Karto.h.

◆ m_Rotation

Matrix3 karto::Transform::m_Rotation
private

Definition at line 3064 of file Karto.h.

◆ m_Transform

Pose2 karto::Transform::m_Transform
private

Definition at line 3062 of file Karto.h.


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


slam_toolbox
Author(s): Steve Macenski
autogenerated on Thu Jan 11 2024 03:37:56