#include<kfbxxmatrix.h>
Inherits fbxVectorTemplate4.
List of all members.
Detailed Description
FBX SDK affine matrix class.
Matrices are defined using the Column Major scheme. When aKFbxXMatrixrepresents a transformation (translation, rotation and scale), the last row of the matrix represents the translation part of the transformation.
Definition at line63of filekfbxxmatrix.h.
Constructor&Destructor Documentation
Copy constructor.
- Parameters:
Constructor.
- Parameters:
| pT | Translation vector. |
| pR | Euler rotation vector. |
| pS | Scale vector. |
Member Function Documentation
double Get | ( | int | pY, |
| | int | pX | |
| ) | | | const |
Retrieve matrix element.
- Parameters:
| pY | Row index. |
| pX | Column index. |
- Returns:
- Cell [ pX, pY ] value.
Extract translation vector.
- Returns:
- Translation vector.
Extract rotation vector.
- Returns:
- Rotation vector.
Extract quaternion vector.
- Returns:
- Quaternion vector.
Extract scale vector.
- Returns:
- Scale vector.
Extract a row vector.
- Parameters:
- Returns:
- The row vector.
Extract a column vector.
- Parameters:
- Returns:
- The column vector.
Set matrix's translation.
- Parameters:
Set matrix's Euler rotation.
- Parameters:
| pR | X, Y and Z rotation values expressed as a vector. |
Set matrix's quaternion.
- Parameters:
Set matrix's scale.
- Parameters:
| pS | X, Y and Z scaling factors expressed as a vector. |
Set matrix.
- Parameters:
| pT | Translation vector. |
| pQ | Quaternion vector. |
| pS | Scale vector. |
Assignment operator.
- Parameters:
Multiply matrix by a scalar value.
- Parameters:
- Returns:
- The scaled matrix.
Divide matrix by a scalar value.
- Parameters:
- Returns:
- The divided matrix.
Multiply matrix by a scalar value.
- Parameters:
- Returns:
- thisupdated with the result of the multipication.
Divide matrix by a scalar value.
- Parameters:
- Returns:
- thisupdated with the result of the division.
Multiply matrix by a translation vector.
- Parameters:
| pVector4 | Translation vector. |
- Returns:
- t' = M * t
Multiply matrix by an Euler rotation vector.
- Parameters:
| pVector4 | Euler Rotation vector. |
- Returns:
- r' = M * r
Multiply matrix by a quaternion.
- Parameters:
| pQuaternion | Rotation value. |
- Returns:
- q' = M * q
Multiply matrix by a scale vector.
- Parameters:
- Returns:
- s' = M * s
Unary minus operator.
- Returns:
- A matrix where each element is multiplied by -1.
Multiply two matrices together.
- Parameters:
- Returns:
- this * pMatrix.
Multiply two matrices together.
- Parameters:
- Returns:
- thisupdated with the result of the multiplication.
Calculate the matrix inverse.
- Returns:
- The inverse matrix ofthis.
Calculate the matrix transpose.
- Returns:
- The transposed matrix ofthis.
Equivalence operator.
- Parameters:
| pXMatrix | The matrix to be compared tothis. |
- Returns:
true
if the two matrices are equal (each element is within a 1.0e-6 tolerance) andfalse
otherwise.
Equivalence operator.
- Parameters:
| pXMatrix | The matrix to be compared tothis. |
- Returns:
true
if the two matrices are equal (each element is within a 1.0e-6 tolerance) andfalse
otherwise.
Non-equivalence operator.
- Parameters:
| pXMatrix | The matrix to be compared tothis. |
- Returns:
false
if the two matrices are equal (each element is within a 1.0e-6 tolerance) andtrue
otherwise.
Non-equivalence operator.
- Parameters:
| pXMatrix | The matrix to be compared tothis. |
- Returns:
false
if the two matrices are equal (each element is within a 1.0e-6 tolerance) andtrue
otherwise.
Cast the matrix in a double pointer.
typedef const double | ( | kDouble44 | | ) | |
Define 4*4 array as a new type.
kDouble44&Double44 | ( | | ) | const[inline] |
Cast the matrix in a referance to a 4*4 array.
Definition at line339of filekfbxxmatrix.h.