The Quaternion class. More...

#include <RobotAPI/libraries/core/Pose.h>

+ Inheritance diagram for Quaternion:

Public Member Functions

VariantDataClassPtr clone (const Ice::Current &=Ice::emptyCurrent) const override
 
void deserialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) override
 
VariantTypeId getType (const Ice::Current &=Ice::emptyCurrent) const override
 
Ice::ObjectPtr ice_clone () const override
 
std::string output (const Ice::Current &c=Ice::emptyCurrent) const override
 
 Quaternion ()
 Construct an identity quaternion. More...
 
 Quaternion (::Ice::Float qw, ::Ice::Float qx, ::Ice::Float qy, ::Ice::Float qz)
 
 Quaternion (const Eigen::Matrix3f &)
 
 Quaternion (const Eigen::Matrix4f &)
 
 Quaternion (const Eigen::Quaternionf &)
 
void serialize (const armarx::ObjectSerializerBasePtr &serializer, const ::Ice::Current &=Ice::emptyCurrent) const override
 
Eigen::Matrix3f slerp (float, const Eigen::Matrix3f &)
 
Eigen::Matrix3f toEigen () const
 
Eigen::Quaternionf toEigenQuaternion () const
 
bool validate (const Ice::Current &=Ice::emptyCurrent) override
 

Static Public Member Functions

static Eigen::Matrix3f slerp (float, const Eigen::Matrix3f &, const Eigen::Matrix3f &)
 

Friends

std::ostream & operator<< (std::ostream &stream, const Quaternion &rhs)
 

Detailed Description

The Quaternion class.

Definition at line 173 of file Pose.h.

Constructor & Destructor Documentation

◆ Quaternion() [1/5]

Quaternion ( )
default

Construct an identity quaternion.

+ Here is the caller graph for this function:

◆ Quaternion() [2/5]

Quaternion ( const Eigen::Matrix4f &  m4)

Definition at line 179 of file Pose.cpp.

◆ Quaternion() [3/5]

Quaternion ( const Eigen::Matrix3f &  m3)

Definition at line 185 of file Pose.cpp.

◆ Quaternion() [4/5]

Definition at line 190 of file Pose.cpp.

◆ Quaternion() [5/5]

Quaternion ( ::Ice::Float  qw,
::Ice::Float  qx,
::Ice::Float  qy,
::Ice::Float  qz 
)

Definition at line 195 of file Pose.cpp.

Member Function Documentation

◆ clone()

VariantDataClassPtr clone ( const Ice::Current &  = Ice::emptyCurrent) const
inlineoverride

Definition at line 197 of file Pose.h.

+ Here is the caller graph for this function:

◆ deserialize()

void deserialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
)
override

Definition at line 269 of file Pose.cpp.

+ Here is the caller graph for this function:

◆ getType()

VariantTypeId getType ( const Ice::Current &  = Ice::emptyCurrent) const
inlineoverride

Definition at line 205 of file Pose.h.

◆ ice_clone()

Ice::ObjectPtr ice_clone ( ) const
inlineoverride

Definition at line 191 of file Pose.h.

◆ output()

std::string output ( const Ice::Current &  c = Ice::emptyCurrent) const
override

Definition at line 250 of file Pose.cpp.

◆ serialize()

void serialize ( const armarx::ObjectSerializerBasePtr &  serializer,
const ::Ice::Current &  = Ice::emptyCurrent 
) const
override

Definition at line 258 of file Pose.cpp.

+ Here is the caller graph for this function:

◆ slerp() [1/2]

Eigen::Matrix3f slerp ( float  alpha,
const Eigen::Matrix3f &  m 
)

Definition at line 233 of file Pose.cpp.

+ Here is the caller graph for this function:

◆ slerp() [2/2]

Eigen::Matrix3f slerp ( float  alpha,
const Eigen::Matrix3f &  m1,
const Eigen::Matrix3f &  m2 
)
static

Definition at line 239 of file Pose.cpp.

◆ toEigen()

Eigen::Matrix3f toEigen ( ) const

Definition at line 204 of file Pose.cpp.

+ Here is the caller graph for this function:

◆ toEigenQuaternion()

Eigen::Quaternionf toEigenQuaternion ( ) const

Definition at line 210 of file Pose.cpp.

+ Here is the caller graph for this function:

◆ validate()

bool validate ( const Ice::Current &  = Ice::emptyCurrent)
inlineoverride

Definition at line 211 of file Pose.h.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  stream,
const Quaternion rhs 
)
friend

Definition at line 217 of file Pose.h.


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