xvsdk
3.2.0
|
Functions | |
Vector4f | xv::rotationToQuaternion (Matrix3f const &rot) |
Convert a rotation matrix to quaternion. More... | |
Vector4d | xv::rotationToQuaternion (Matrix3d const &rot) |
Convert a rotation matrix to quaternion. More... | |
Matrix3f | xv::quaternionToRotation (Vector4f const &q) |
Convert quaternion to rotation matrix. More... | |
Matrix3d | xv::quaternionToRotation (Vector4d const &q) |
Convert quaternion to rotation matrix. More... | |
Matrix3f | xv::quaternionsToRotation (Vector4f const &q) |
Deprecated. Same to #quaternionToRotation. | |
Vector3d | xv::rotationToPitchYawRoll (Matrix3d const &rot) |
Convert rotation Euler angles. More... | |
Vector3f | xv::rotationToPitchYawRoll (Matrix3f const &rot) |
Convert rotation Euler angles. More... | |
Matrix3f xv::quaternionToRotation | ( | Vector4f const & | q | ) |
Convert quaternion to rotation matrix.
q | quaternion [qx,qy,qz,qw] |
Matrix3d xv::quaternionToRotation | ( | Vector4d const & | q | ) |
Convert quaternion to rotation matrix.
q | quaternion [qx,qy,qz,qw] |
Vector3d xv::rotationToPitchYawRoll | ( | Matrix3d const & | rot | ) |
Convert rotation Euler angles.
Be carefull of gimbal lock when using Euler angles.
rot | 3x3 row major rotation matrix |
Vector3f xv::rotationToPitchYawRoll | ( | Matrix3f const & | rot | ) |
Convert rotation Euler angles.
Be carefull of gimbal lock when using Euler angles.
rot | 3x3 row major rotation matrix |
Vector4f xv::rotationToQuaternion | ( | Matrix3f const & | rot | ) |
Convert a rotation matrix to quaternion.
rot | 3x3 row major rotation matrix |
Vector4d xv::rotationToQuaternion | ( | Matrix3d const & | rot | ) |
Convert a rotation matrix to quaternion.
rot | 3x3 row major rotation matrix |