Functions | |
| Matrix | MatrixMove (const Vector &t) | 
| Matrix | MatrixScale (const Vector &s) | 
| Matrix | MatrixRotX (Float w) | 
| Matrix | MatrixRotY (Float w) | 
| Matrix | MatrixRotZ (Float w) | 
| Vector | MatrixToHPB (const Matrix &m, ROTATIONORDER rot_order, Bool isNormalized=false) | 
| Vector | VectorToHPB (const Vector &p) | 
| Matrix | HPBToMatrix (const Vector &hpb, ROTATIONORDER rot_order) | 
| void | MatrixToRotAxis (const Matrix &m, Vector *v, Float *w) | 
| Matrix | RotAxisToMatrix (const Vector &v, Float w) | 
| Matrix | RebuildMatrix (const Matrix &m) | 
| Matrix | DirectionVectorToRotationMatrix (const Vector &direction, const Vector &pivotDirection) | 
Creates a translation matrix.
| [in] | t | The translation vector. | 
Creates a scaling matrix.
| [in] | s | The scaling vector for the axes. | 
Creates a rotation matrix on the X axis.
| [in] | w | The angle around X. | 
Creates a rotation matrix on the Y axis.
| [in] | w | The angle around Y. | 
Creates a rotation matrix on the Z axis.
| [in] | w | The angle around Z. | 
| Vector cinema::MatrixToHPB | ( | const Matrix & | m, | 
| ROTATIONORDER | rot_order, | ||
| Bool | isNormalized = false  | 
        ||
| ) | 
Calculates Euler angles from a matrix.
| [in] | m | The rotation matrix. | 
| [in] | rot_order | The rotation order. | 
| [in] | isNormalized | True if the matrix is already normalized. | 
Calculates Euler angles from a vector.
| [in] | p | The vector to find the HPB for. | 
| Matrix cinema::HPBToMatrix | ( | const Vector & | hpb, | 
| ROTATIONORDER | rot_order | ||
| ) | 
Constructs a matrix from Euler angles.
| [in] | hpb | The input HPB. | 
| [in] | rot_order | The rotation order. | 
Calculates rotation axis and angle from a matrix.
| [in] | m | The rotation matrix. | 
| [out] | v | Assigned the rotation axis. | 
| [out] | w | Assigned the rotation angle. | 
Calculates matrix from rotation axis and angle.
| [in] | v | The rotation axis. | 
| [in] | w | The rotation angle. | 
Recalculates a matrix making it orthogonal if one or more of its vectors is collapsed (scale 0.0).
| [in] | m | The matrix to rebuild. | 
| Matrix cinema::DirectionVectorToRotationMatrix | ( | const Vector & | direction, | 
| const Vector & | pivotDirection | ||
| ) | 
Rotates a directional vector around another pivot direction to calculate the angle and rotation axis, packed into a matrix, required to perform the rotation. This is otherwise known as Rodrigues' rotation formula.
| [in] | direction | Input directional vector. | 
| [in] | pivotDirection | Vector to rotate around. |