Public Member Functions | Static Public Member Functions | Private Attributes
rtabmap::Transform Class Reference

#include <Transform.h>

List of all members.

Public Member Functions

const float * data () const
float * data ()
float getDistance (const Transform &t) const
float getDistanceSquared (const Transform &t) const
void getEulerAngles (float &roll, float &pitch, float &yaw) const
float getNorm () const
float getNormSquared () const
Eigen::Quaterniond getQuaterniond () const
Eigen::Quaternionf getQuaternionf () const
void getTranslation (float &x, float &y, float &z) const
void getTranslationAndEulerAngles (float &x, float &y, float &z, float &roll, float &pitch, float &yaw) const
Transform inverse () const
bool isIdentity () const
bool isNull () const
float o14 () const
float o24 () const
float o34 () const
bool operator!= (const Transform &t) const
Transform operator* (const Transform &t) const
Transformoperator*= (const Transform &t)
bool operator== (const Transform &t) const
float & operator[] (int index)
const float & operator[] (int index) const
std::string prettyPrint () const
float r11 () const
float r12 () const
float r13 () const
float r21 () const
float r22 () const
float r23 () const
float r31 () const
float r32 () const
float r33 () const
Transform rotation () const
void setIdentity ()
void setNull ()
int size () const
float theta () const
Eigen::Affine3d toEigen3d () const
Eigen::Affine3f toEigen3f () const
Eigen::Matrix4d toEigen4d () const
Eigen::Matrix4f toEigen4f () const
 Transform ()
 Transform (float r11, float r12, float r13, float o14, float r21, float r22, float r23, float o24, float r31, float r32, float r33, float o34)
 Transform (float x, float y, float z, float roll, float pitch, float yaw)
Transform translation () const
float & x ()
const float & x () const
float & y ()
const float & y () const
float & z ()
const float & z () const

Static Public Member Functions

static Transform fromEigen3d (const Eigen::Affine3d &matrix)
static Transform fromEigen3d (const Eigen::Isometry3d &matrix)
static Transform fromEigen3f (const Eigen::Affine3f &matrix)
static Transform fromEigen3f (const Eigen::Isometry3f &matrix)
static Transform fromEigen4d (const Eigen::Matrix4d &matrix)
static Transform fromEigen4f (const Eigen::Matrix4f &matrix)
static Transform getIdentity ()

Private Attributes

std::vector< float > data_

Detailed Description

Definition at line 39 of file Transform.h.


Constructor & Destructor Documentation

Definition at line 38 of file Transform.cpp.

rtabmap::Transform::Transform ( float  r11,
float  r12,
float  r13,
float  o14,
float  r21,
float  r22,
float  r23,
float  o24,
float  r31,
float  r32,
float  r33,
float  o34 
)

Definition at line 55 of file Transform.cpp.

rtabmap::Transform::Transform ( float  x,
float  y,
float  z,
float  roll,
float  pitch,
float  yaw 
)

Definition at line 74 of file Transform.cpp.


Member Function Documentation

const float* rtabmap::Transform::data ( ) const [inline]

Definition at line 75 of file Transform.h.

float* rtabmap::Transform::data ( ) [inline]

Definition at line 76 of file Transform.h.

Transform rtabmap::Transform::fromEigen3d ( const Eigen::Affine3d &  matrix) [static]

Definition at line 302 of file Transform.cpp.

Transform rtabmap::Transform::fromEigen3d ( const Eigen::Isometry3d &  matrix) [static]

Definition at line 315 of file Transform.cpp.

Transform rtabmap::Transform::fromEigen3f ( const Eigen::Affine3f &  matrix) [static]

Definition at line 296 of file Transform.cpp.

Transform rtabmap::Transform::fromEigen3f ( const Eigen::Isometry3f &  matrix) [static]

Definition at line 309 of file Transform.cpp.

Transform rtabmap::Transform::fromEigen4d ( const Eigen::Matrix4d &  matrix) [static]

Definition at line 289 of file Transform.cpp.

Transform rtabmap::Transform::fromEigen4f ( const Eigen::Matrix4f &  matrix) [static]

Definition at line 283 of file Transform.cpp.

float rtabmap::Transform::getDistance ( const Transform t) const

Definition at line 188 of file Transform.cpp.

Definition at line 193 of file Transform.cpp.

void rtabmap::Transform::getEulerAngles ( float &  roll,
float &  pitch,
float &  yaw 
) const

Definition at line 165 of file Transform.cpp.

Definition at line 278 of file Transform.cpp.

float rtabmap::Transform::getNorm ( ) const

Definition at line 178 of file Transform.cpp.

Definition at line 183 of file Transform.cpp.

Eigen::Quaterniond rtabmap::Transform::getQuaterniond ( ) const

Definition at line 273 of file Transform.cpp.

Eigen::Quaternionf rtabmap::Transform::getQuaternionf ( ) const

Definition at line 268 of file Transform.cpp.

void rtabmap::Transform::getTranslation ( float &  x,
float &  y,
float &  z 
) const

Definition at line 171 of file Transform.cpp.

void rtabmap::Transform::getTranslationAndEulerAngles ( float &  x,
float &  y,
float &  z,
float &  roll,
float &  pitch,
float &  yaw 
) const

Definition at line 160 of file Transform.cpp.

Definition at line 141 of file Transform.cpp.

Definition at line 108 of file Transform.cpp.

Definition at line 80 of file Transform.cpp.

float rtabmap::Transform::o14 ( ) const [inline]

Definition at line 62 of file Transform.h.

float rtabmap::Transform::o24 ( ) const [inline]

Definition at line 63 of file Transform.h.

float rtabmap::Transform::o34 ( ) const [inline]

Definition at line 64 of file Transform.h.

bool rtabmap::Transform::operator!= ( const Transform t) const

Definition at line 221 of file Transform.cpp.

Transform rtabmap::Transform::operator* ( const Transform t) const

Definition at line 205 of file Transform.cpp.

Transform & rtabmap::Transform::operator*= ( const Transform t)

Definition at line 210 of file Transform.cpp.

bool rtabmap::Transform::operator== ( const Transform t) const

Definition at line 216 of file Transform.cpp.

float& rtabmap::Transform::operator[] ( int  index) [inline]

Definition at line 66 of file Transform.h.

const float& rtabmap::Transform::operator[] ( int  index) const [inline]

Definition at line 67 of file Transform.h.

std::string rtabmap::Transform::prettyPrint ( ) const

Definition at line 198 of file Transform.cpp.

float rtabmap::Transform::r11 ( ) const [inline]

Definition at line 52 of file Transform.h.

float rtabmap::Transform::r12 ( ) const [inline]

Definition at line 53 of file Transform.h.

float rtabmap::Transform::r13 ( ) const [inline]

Definition at line 54 of file Transform.h.

float rtabmap::Transform::r21 ( ) const [inline]

Definition at line 55 of file Transform.h.

float rtabmap::Transform::r22 ( ) const [inline]

Definition at line 56 of file Transform.h.

float rtabmap::Transform::r23 ( ) const [inline]

Definition at line 57 of file Transform.h.

float rtabmap::Transform::r31 ( ) const [inline]

Definition at line 58 of file Transform.h.

float rtabmap::Transform::r32 ( ) const [inline]

Definition at line 59 of file Transform.h.

float rtabmap::Transform::r33 ( ) const [inline]

Definition at line 60 of file Transform.h.

Definition at line 146 of file Transform.cpp.

Definition at line 129 of file Transform.cpp.

Definition at line 124 of file Transform.cpp.

int rtabmap::Transform::size ( ) const [inline]

Definition at line 77 of file Transform.h.

float rtabmap::Transform::theta ( ) const

Definition at line 134 of file Transform.cpp.

Eigen::Affine3d rtabmap::Transform::toEigen3d ( ) const

Definition at line 263 of file Transform.cpp.

Eigen::Affine3f rtabmap::Transform::toEigen3f ( ) const

Definition at line 258 of file Transform.cpp.

Eigen::Matrix4d rtabmap::Transform::toEigen4d ( ) const

Definition at line 248 of file Transform.cpp.

Eigen::Matrix4f rtabmap::Transform::toEigen4f ( ) const

Definition at line 239 of file Transform.cpp.

Definition at line 153 of file Transform.cpp.

float& rtabmap::Transform::x ( ) [inline]

Definition at line 79 of file Transform.h.

const float& rtabmap::Transform::x ( ) const [inline]

Definition at line 82 of file Transform.h.

float& rtabmap::Transform::y ( ) [inline]

Definition at line 80 of file Transform.h.

const float& rtabmap::Transform::y ( ) const [inline]

Definition at line 83 of file Transform.h.

float& rtabmap::Transform::z ( ) [inline]

Definition at line 81 of file Transform.h.

const float& rtabmap::Transform::z ( ) const [inline]

Definition at line 84 of file Transform.h.


Member Data Documentation

std::vector<float> rtabmap::Transform::data_ [private]

Definition at line 124 of file Transform.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:44