Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
cartographer::transform::Rigid2< FloatType > Class Template Reference

#include <rigid_transform.h>

Public Types

using Rotation2D = Eigen::Rotation2D< FloatType >
 
using Vector = Eigen::Matrix< FloatType, 2, 1 >
 

Public Member Functions

template<typename OtherType >
Rigid2< OtherType > cast () const
 
std::string DebugString () const
 
Rigid2 inverse () const
 
double normalized_angle () const
 
 Rigid2 ()
 
 Rigid2 (const Vector &translation, const Rotation2D &rotation)
 
 Rigid2 (const Vector &translation, const double rotation)
 
Rotation2D rotation () const
 
const Vectortranslation () const
 

Static Public Member Functions

static Rigid2< FloatType > Identity ()
 
static Rigid2 Rotation (const double rotation)
 
static Rigid2 Rotation (const Rotation2D &rotation)
 
static Rigid2 Translation (const Vector &vector)
 

Private Attributes

Rotation2D rotation_
 
Vector translation_
 

Detailed Description

template<typename FloatType>
class cartographer::transform::Rigid2< FloatType >

Definition at line 34 of file rigid_transform.h.

Member Typedef Documentation

◆ Rotation2D

template<typename FloatType>
using cartographer::transform::Rigid2< FloatType >::Rotation2D = Eigen::Rotation2D<FloatType>

Definition at line 37 of file rigid_transform.h.

◆ Vector

template<typename FloatType>
using cartographer::transform::Rigid2< FloatType >::Vector = Eigen::Matrix<FloatType, 2, 1>

Definition at line 36 of file rigid_transform.h.

Constructor & Destructor Documentation

◆ Rigid2() [1/3]

template<typename FloatType>
cartographer::transform::Rigid2< FloatType >::Rigid2 ( )
inline

Definition at line 39 of file rigid_transform.h.

◆ Rigid2() [2/3]

template<typename FloatType>
cartographer::transform::Rigid2< FloatType >::Rigid2 ( const Vector translation,
const Rotation2D rotation 
)
inline

Definition at line 40 of file rigid_transform.h.

◆ Rigid2() [3/3]

template<typename FloatType>
cartographer::transform::Rigid2< FloatType >::Rigid2 ( const Vector translation,
const double  rotation 
)
inline

Definition at line 42 of file rigid_transform.h.

Member Function Documentation

◆ cast()

template<typename FloatType>
template<typename OtherType >
Rigid2<OtherType> cartographer::transform::Rigid2< FloatType >::cast ( ) const
inline

Definition at line 60 of file rigid_transform.h.

◆ DebugString()

template<typename FloatType>
std::string cartographer::transform::Rigid2< FloatType >::DebugString ( ) const
inline

Definition at line 79 of file rigid_transform.h.

◆ Identity()

template<typename FloatType>
static Rigid2<FloatType> cartographer::transform::Rigid2< FloatType >::Identity ( )
inlinestatic

Definition at line 57 of file rigid_transform.h.

◆ inverse()

template<typename FloatType>
Rigid2 cartographer::transform::Rigid2< FloatType >::inverse ( ) const
inline

Definition at line 73 of file rigid_transform.h.

◆ normalized_angle()

template<typename FloatType>
double cartographer::transform::Rigid2< FloatType >::normalized_angle ( ) const
inline

Definition at line 69 of file rigid_transform.h.

◆ Rotation() [1/2]

template<typename FloatType>
static Rigid2 cartographer::transform::Rigid2< FloatType >::Rotation ( const double  rotation)
inlinestatic

Definition at line 45 of file rigid_transform.h.

◆ Rotation() [2/2]

template<typename FloatType>
static Rigid2 cartographer::transform::Rigid2< FloatType >::Rotation ( const Rotation2D rotation)
inlinestatic

Definition at line 49 of file rigid_transform.h.

◆ rotation()

template<typename FloatType>
Rotation2D cartographer::transform::Rigid2< FloatType >::rotation ( ) const
inline

Definition at line 67 of file rigid_transform.h.

◆ Translation()

template<typename FloatType>
static Rigid2 cartographer::transform::Rigid2< FloatType >::Translation ( const Vector vector)
inlinestatic

Definition at line 53 of file rigid_transform.h.

◆ translation()

template<typename FloatType>
const Vector& cartographer::transform::Rigid2< FloatType >::translation ( ) const
inline

Definition at line 65 of file rigid_transform.h.

Member Data Documentation

◆ rotation_

template<typename FloatType>
Rotation2D cartographer::transform::Rigid2< FloatType >::rotation_
private

Definition at line 93 of file rigid_transform.h.

◆ translation_

template<typename FloatType>
Vector cartographer::transform::Rigid2< FloatType >::translation_
private

Definition at line 92 of file rigid_transform.h.


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


cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59