Designed to contain rotation data of the positional tracking. It inherits from the generic Matrix3f. More...
| Functions | |
| Rotation () | |
| empty Rotation default constructor.  More... | |
| Rotation (const Rotation &rotation) | |
| Rotation copy constructor (deep copy).  More... | |
| Rotation (const Matrix3f &mat) | |
| Rotation copy constructor (deep copy).  More... | |
| Rotation (const Orientation &orientation) | |
| Rotation constructor from an Orientation.  More... | |
| Rotation (const float angle, const Translation &axis) | |
| Creates a Rotation representing the 3D rotation of angle around an arbitrary 3D axis.  More... | |
| void | setOrientation (const Orientation &orientation) | 
| Sets the Rotation from an Orientation.  More... | |
| Orientation | getOrientation () const | 
| Returns the Orientation corresponding to the current Rotation.  More... | |
| float3 | getRotationVector () | 
| Returns the 3x1 rotation vector obtained from 3x3 rotation matrix using Rodrigues formula.  More... | |
| void | setRotationVector (const float3 &vec_rot) | 
| Sets the Rotation from a rotation vector (using Rodrigues' transformation).  More... | |
| float3 | getEulerAngles (bool radian=true) const | 
| Converts the Rotation as Euler angles.  More... | |
| void | setEulerAngles (const float3 &euler_angles, bool radian=true) | 
| Sets the Rotation from the Euler angles.  More... | |
| Matrix3f | operator* (const Matrix3f &mat) const | 
| Gives the result of the multiplication between two Matrix3f.  More... | |
| Matrix3f | operator* (const float &scalar) const | 
| Gives the result of the multiplication between a Matrix3f and a scalar.  More... | |
| Matrix3f | operator+ (const Matrix3f &mat) const | 
| Gives the result of the addition between two Matrix3f.  More... | |
| Matrix3f | operator+ (const float &scalar) const | 
| Gives the result of the addition between a Matrix3f and a scalar.  More... | |
| Matrix3f | operator- (const Matrix3f &mat) const | 
| Gives the result of the subtraction between two Matrix3f.  More... | |
| Matrix3f | operator- (const float &scalar) const | 
| Gives the result of the subtraction between a Matrix3f and a scalar.  More... | |
| bool | operator== (const Matrix3f &mat) const | 
| Test two Matrix3f equality.  More... | |
| bool | operator!= (const Matrix3f &mat) const | 
| Test two Matrix3f inequality.  More... | |
| float & | operator() (int u, int v) | 
| Gets access to a specific point in the Matrix3f (read / write).  More... | |
| void | inverse () | 
| Sets the Matrix3f to its inverse.  More... | |
| void | transpose () | 
| Sets the Matrix3f to its transpose.  More... | |
| void | setIdentity () | 
| Sets the Matrix3f to identity.  More... | |
| void | setZeros () | 
| Sets the Matrix3f to zero.  More... | |
| String | getInfos () | 
| Returns the components of the Matrix3f in a String.  More... | |
| Static Functions | |
| static Matrix3f | inverse (const Matrix3f &rotation) | 
| Returns the inverse of a Matrix3f.  More... | |
| static Matrix3f | transpose (const Matrix3f &rotation) | 
| Returns the transpose of a Matrix3f.  More... | |
| static Matrix3f | identity () | 
| Creates an identity Matrix3f.  More... | |
| static Matrix3f | zeros () | 
| Creates a Matrix3f filled with zeros.  More... | |
| Attributes | |
| String | matrix_name | 
| Name of the matrix (optional).  More... | |
Designed to contain rotation data of the positional tracking. It inherits from the generic Matrix3f.
Rotation copy constructor (deep copy).
| mat | : the mat to copy. | 
| Rotation | ( | const Orientation & | orientation | ) | 
Rotation constructor from an Orientation.
It converts the Orientation representation to the Rotation one.
| orientation | : the Orientation to be used. | 
| Rotation | ( | const float | angle, | 
| const Translation & | axis | ||
| ) | 
Creates a Rotation representing the 3D rotation of angle around an arbitrary 3D axis.
| angle | : the rotation angle in rad. | 
| axis | : the 3D axis to rotate around. | 
| void setOrientation | ( | const Orientation & | orientation | ) | 
Sets the Rotation from an Orientation.
| orientation | : the Orientation containing the rotation to set. | 
| Orientation getOrientation | ( | ) | const | 
Returns the Orientation corresponding to the current Rotation.
| float3 getRotationVector | ( | ) | 
Returns the 3x1 rotation vector obtained from 3x3 rotation matrix using Rodrigues formula.
| void setRotationVector | ( | const float3 & | vec_rot | ) | 
Sets the Rotation from a rotation vector (using Rodrigues' transformation).
| vec_rot | : the rotation Vector. | 
| float3 getEulerAngles | ( | bool | radian = true | ) | const | 
| void setEulerAngles | ( | const float3 & | euler_angles, | 
| bool | radian = true | ||
| ) | 
Gives the result of the multiplication between two Matrix3f.
| 
 | inherited | 
Gives the result of the multiplication between a Matrix3f and a scalar.
Gives the result of the addition between two Matrix3f.
| 
 | inherited | 
Gives the result of the addition between a Matrix3f and a scalar.
Gives the result of the subtraction between two Matrix3f.
| 
 | inherited | 
Gives the result of the subtraction between a Matrix3f and a scalar.
| 
 | inherited | 
Gets access to a specific point in the Matrix3f (read / write).
| u | : specify the row | 
| v | : specify the column | 
| 
 | inherited | 
Sets the Matrix3f to its inverse.
| 
 | inherited | 
Sets the Matrix3f to its transpose.
| 
 | inherited | 
Sets the Matrix3f to identity.
| 
 | staticinherited | 
| 
 | inherited | 
Sets the Matrix3f to zero.
| 
 | staticinherited | 
| 
 | inherited | 
| 
 | inherited | 
Name of the matrix (optional).