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