XRPrimer (C++ API)  0.6.0
Pose Class Reference

#include <pose.h>

Public Member Functions

 Pose ()
 
 Pose (const Eigen::Quaterniond &quaternion, const Eigen::Vector3d &position)
 
 Pose (const Eigen::AngleAxisd &angle_axis, const Eigen::Vector3d &position)
 
 Pose (const Eigen::Matrix3d &rotate_matrix, const Eigen::Vector3d &position)
 
const Eigen::Quaterniond & quaternion () const
 
const Eigen::Vector3d & position () const
 
Eigen::Matrix3d get_rotation () const
 
Eigen::AngleAxisd get_angle_axis () const
 
void set_quternion (const Eigen::Quaterniond &quaternion)
 
void set_quternion (double w, double x, double y, double z)
 
void set_quternion (const Eigen::Matrix3d &rotation)
 
void set_quternion (const Eigen::AngleAxisd &angle_axis)
 
void set_position (const Eigen::Vector3d &position)
 
void SetIdentity ()
 
Pose Inverse () const
 
void InverseMutable ()
 
Pose Scale (double s) const
 
void ScaleMutable (double s)
 
Eigen::Vector3d Center () const
 
void PoseMult (const Pose &lhs, const Pose &rhs)
 Set the current Pose as the value of the product of two Pose, This = Pose1 * Pose2. More...
 
Eigen::Vector3d operator* (const Eigen::Vector3d &vec) const
 the Pose of the vector More...
 
Eigen::Quaterniond operator* (const Eigen::Quaterniond &quaternion) const
 the Pose of the Quaternion More...
 
Eigen::Vector3d operator() (const Eigen::Vector3d &vec) const
 the Pose of the vector More...
 

Friends

bool operator!= (const Pose &lhs, const Pose &rhs)
 
bool operator== (const Pose &lhs, const Pose &rhs)
 

Constructor & Destructor Documentation

◆ Pose() [1/4]

Pose::Pose ( )

◆ Pose() [2/4]

Pose::Pose ( const Eigen::Quaterniond &  quaternion,
const Eigen::Vector3d &  position 
)

◆ Pose() [3/4]

Pose::Pose ( const Eigen::AngleAxisd &  angle_axis,
const Eigen::Vector3d &  position 
)

◆ Pose() [4/4]

Pose::Pose ( const Eigen::Matrix3d &  rotate_matrix,
const Eigen::Vector3d &  position 
)

Member Function Documentation

◆ Center()

Eigen::Vector3d Pose::Center ( ) const

◆ get_angle_axis()

Eigen::AngleAxisd Pose::get_angle_axis ( ) const

◆ get_rotation()

Eigen::Matrix3d Pose::get_rotation ( ) const

◆ Inverse()

Pose Pose::Inverse ( ) const

◆ InverseMutable()

void Pose::InverseMutable ( )

◆ operator()()

Eigen::Vector3d Pose::operator() ( const Eigen::Vector3d &  vec) const

the Pose of the vector

◆ operator*() [1/2]

Eigen::Vector3d Pose::operator* ( const Eigen::Vector3d &  vec) const

the Pose of the vector

◆ operator*() [2/2]

Eigen::Quaterniond Pose::operator* ( const Eigen::Quaterniond &  quaternion) const

the Pose of the Quaternion

◆ PoseMult()

void Pose::PoseMult ( const Pose lhs,
const Pose rhs 
)

Set the current Pose as the value of the product of two Pose, This = Pose1 * Pose2.

◆ position()

const Eigen::Vector3d & Pose::position ( ) const

◆ quaternion()

const Eigen::Quaterniond & Pose::quaternion ( ) const

◆ Scale()

Pose Pose::Scale ( double  s) const

◆ ScaleMutable()

void Pose::ScaleMutable ( double  s)

◆ set_position()

void Pose::set_position ( const Eigen::Vector3d &  position)

◆ set_quternion() [1/4]

void Pose::set_quternion ( const Eigen::Quaterniond &  quaternion)

◆ set_quternion() [2/4]

void Pose::set_quternion ( double  w,
double  x,
double  y,
double  z 
)

◆ set_quternion() [3/4]

void Pose::set_quternion ( const Eigen::Matrix3d &  rotation)

◆ set_quternion() [4/4]

void Pose::set_quternion ( const Eigen::AngleAxisd &  angle_axis)

◆ SetIdentity()

void Pose::SetIdentity ( )

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const Pose lhs,
const Pose rhs 
)
friend

◆ operator==

bool operator== ( const Pose lhs,
const Pose rhs 
)
friend

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