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 2974 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 2981 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 2991 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 3015 of file Karto.h.

◆ serialize()

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

Definition at line 3067 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 3030 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 3002 of file Karto.h.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 3065 of file Karto.h.

Member Data Documentation

◆ m_InverseRotation

Matrix3 karto::Transform::m_InverseRotation
private

Definition at line 3063 of file Karto.h.

◆ m_Rotation

Matrix3 karto::Transform::m_Rotation
private

Definition at line 3062 of file Karto.h.

◆ m_Transform

Pose2 karto::Transform::m_Transform
private

Definition at line 3060 of file Karto.h.


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


slam_toolbox
Author(s): Steve Macenski
autogenerated on Sat Oct 3 2020 03:51:02