xvsdk
3.2.0
|
Represents a float
typed transformation (or pose) with translation and quaternion for rotation.
More...
#include <xv-types.h>
Public Member Functions | |
TransformQuat (Vector3d const &t, Vector4d const &q) | |
TransformQuat_ & | operator*= (TransformQuat_ const &q) |
Vector3< double > const & | translation () const |
void | setTranslation (Vector3< double > const &v) |
void | setTranslation (doubleconst *v) |
Vector4< double > const & | quaternion () const |
Get the quaternion [qx,qy,qz,qw] of the rotation. | |
void | setQuaternion (Vector4< double > const &v) |
Set the quaternion [qx,qy,qz,qw] of the rotation. | |
void | setQuaternion (doubleconst *v) |
Set the quaternion [qx,qy,qz,qw] of the rotation using pointer to 4D array. | |
double | x () const |
X coordinate of the translation. | |
double | y () const |
Y coordinate of the translation. | |
double | z () const |
Z coordinate of the translation. | |
double | qx () const |
qx quaternion composant | |
double | qy () const |
qx quaternion composant | |
double | qz () const |
qx quaternion composant | |
double | qw () const |
qx quaternion composant | |
Static Public Member Functions | |
static TransformQuat_ | Identity () |
Protected Attributes | |
Vector3< double > | m_translation |
Vector4< double > | m_quaternions |
Represents a float
typed transformation (or pose) with translation and quaternion for rotation.