xvsdk
3.2.0
|
Represents atransformation (or pose) with translation and rotation matrix in float
type.
More...
#include <xv-types.h>
Public Member Functions | |
TransformF (details::Transform_< float > &&o) | |
TransformF (Vector3f const &t, Matrix3f const &r) | |
Transform_ & | operator*= (Transform_ const &q) |
Composition operator for transformations. | |
Vector3< float > const & | translation () const |
Get the translation part of the transformation. More... | |
void | setTranslation (Vector3< float > const &v) |
Set the translation part of the transformation. | |
void | setTranslation (float const *v) |
Set the translation part of the transformation using pointer to 3D array. | |
Matrix3< float > const & | rotation () const |
Get the rotation matrix part of the transformation. More... | |
void | setRotation (Matrix3< float > const &v) |
Get the rotation matrix part of the transformation. | |
void | setRotation (float const *v) |
Set the rotation matrix (row major 3x3) part of the transformation using pointer to array of size 9. | |
float | x () const |
X coordinate of the translation. | |
float | y () const |
Y coordinate of the translation. | |
float | z () const |
Z coordinate of the translation. | |
Transform_< float > | inverse () const |
Compute the inverse transformation. More... | |
Static Public Member Functions | |
static Transform_ | Identity () |
Protected Attributes | |
Vector3< float > | m_translation |
Matrix3< float > | m_rotation |
Represents atransformation (or pose) with translation and rotation matrix in float
type.
|
inherited |
Compute the inverse transformation.
|
inlineinherited |
Get the rotation matrix part of the transformation.
|
inlineinherited |
Get the translation part of the transformation.