#include <kfbxmatrix.h>
Definition at line 61 of file kfbxmatrix.h.
Constructors and Destructor | |
KFbxMatrix () | |
Constructor. | |
KFbxMatrix (const KFbxMatrix &pM) | |
Copy constructor. | |
KFbxMatrix (KFbxVector4 &pT, KFbxVector4 &pR, KFbxVector4 &pS) | |
Constructor. | |
KFbxMatrix (KFbxVector4 &pT, KFbxQuaternion &pQ, KFbxVector4 &pS) | |
Constructor. | |
KFbxMatrix (const KFbxXMatrix &pM) | |
Constructor. | |
~KFbxMatrix () | |
Destructor. | |
Access | |
double | Get (int pY, int pX) |
Retrieve matrix element. | |
KFbxVector4 | GetRow (int pY) |
Extract a row vector. | |
KFbxVector4 | GetColumn (int pX) |
Extract a column vector. | |
void | Set (int pY, int pX, double pValue) |
Set matrix element. | |
void | SetIdentity () |
Set matrix to identity. | |
void | SetTRS (KFbxVector4 &pT, KFbxVector4 &pR, KFbxVector4 &pS) |
Set matrix. | |
void | SetTQS (KFbxVector4 &pT, KFbxQuaternion &pQ, KFbxVector4 &pS) |
Set matrix. | |
void | SetRow (int pY, KFbxVector4 &pRow) |
Set a matrix row. | |
void | SetColumn (int pX, KFbxVector4 &pColumn) |
Set a matrix column. | |
KFbxMatrix & | operator= (const KFbxMatrix &pMatrix) |
Assignment operator. | |
Matrix Operations | |
KFbxMatrix | operator- () |
Unary minus operator. | |
KFbxMatrix | operator+ (KFbxMatrix &pMatrix) |
Add two matrices together. | |
KFbxMatrix | operator- (KFbxMatrix &pMatrix) |
Subtract a matrix from another matrix. | |
KFbxMatrix | operator * (KFbxMatrix &pMatrix) |
Multiply two matrices. | |
KFbxMatrix & | operator+= (KFbxMatrix &pMatrix) |
Add two matrices together. | |
KFbxMatrix & | operator-= (KFbxMatrix &pMatrix) |
Subtract a matrix from another matrix. | |
KFbxMatrix & | operator *= (KFbxMatrix &pMatrix) |
Multiply two matrices. | |
KFbxMatrix | Transpose () |
Calculate the matrix transpose. | |
Boolean Operations | |
bool | operator== (KFbxMatrix &pM) |
Equivalence operator. | |
bool | operator== (KFbxXMatrix &pM) |
Equivalence operator. | |
bool | operator!= (KFbxMatrix &pM) |
Non-equivalence operator. | |
bool | operator!= (KFbxXMatrix &pM) |
Non-equivalence operator. | |
Casting | |
operator double * () | |
Cast the vector in a double pointer. | |
Public Attributes | |
double | mData [4][4] |
KFbxMatrix | ( | ) |
Constructor.
KFbxMatrix | ( | const KFbxMatrix & | pM | ) |
Copy constructor.
KFbxMatrix | ( | KFbxVector4 & | pT, | |
KFbxVector4 & | pR, | |||
KFbxVector4 & | pS | |||
) |
Constructor.
pT | Translation vector. | |
pR | Euler rotation vector. | |
pS | Scale vector. |
KFbxMatrix | ( | KFbxVector4 & | pT, | |
KFbxQuaternion & | pQ, | |||
KFbxVector4 & | pS | |||
) |
Constructor.
pT | Translation vector. | |
pQ | Quaternion. | |
pS | Scale vector. |
KFbxMatrix | ( | const KFbxXMatrix & | pM | ) |
Constructor.
pM | Affine matrix |
~KFbxMatrix | ( | ) |
Destructor.
double Get | ( | int | pY, | |
int | pX | |||
) |
Retrieve matrix element.
pY | Row index. | |
pX | Column index. |
KFbxVector4 GetRow | ( | int | pY | ) |
Extract a row vector.
pY | Row index. |
KFbxVector4 GetColumn | ( | int | pX | ) |
Extract a column vector.
pX | Column index. |
void Set | ( | int | pY, | |
int | pX, | |||
double | pValue | |||
) |
Set matrix element.
pY | Row index. | |
pX | Column index. | |
pValue | New component value. |
void SetIdentity | ( | ) |
Set matrix to identity.
void SetTRS | ( | KFbxVector4 & | pT, | |
KFbxVector4 & | pR, | |||
KFbxVector4 & | pS | |||
) |
Set matrix.
pT | Translation vector. | |
pR | Euler rotation vector. | |
pS | Scale vector. |
void SetTQS | ( | KFbxVector4 & | pT, | |
KFbxQuaternion & | pQ, | |||
KFbxVector4 & | pS | |||
) |
Set matrix.
pT | Translation vector. | |
pQ | Quaternion. | |
pS | Scale vector. |
void SetRow | ( | int | pY, | |
KFbxVector4 & | pRow | |||
) |
Set a matrix row.
pY | Row index. | |
pRow | Row vector. |
void SetColumn | ( | int | pX, | |
KFbxVector4 & | pColumn | |||
) |
Set a matrix column.
pX | Column index. | |
pColumn | Column vector. |
KFbxMatrix& operator= | ( | const KFbxMatrix & | pMatrix | ) |
Assignment operator.
pMatrix | Source matrix. |
KFbxMatrix operator- | ( | ) |
Unary minus operator.
KFbxMatrix operator+ | ( | KFbxMatrix & | pMatrix | ) |
Add two matrices together.
pMatrix | A matrix. |
KFbxMatrix operator- | ( | KFbxMatrix & | pMatrix | ) |
Subtract a matrix from another matrix.
pMatrix | A matrix. |
KFbxMatrix operator * | ( | KFbxMatrix & | pMatrix | ) |
Multiply two matrices.
pMatrix | A matrix. |
KFbxMatrix& operator+= | ( | KFbxMatrix & | pMatrix | ) |
Add two matrices together.
pMatrix | A matrix. |
KFbxMatrix& operator-= | ( | KFbxMatrix & | pMatrix | ) |
Subtract a matrix from another matrix.
pMatrix | A matrix. |
KFbxMatrix& operator *= | ( | KFbxMatrix & | pMatrix | ) |
Multiply two matrices.
pMatrix | A matrix. |
KFbxMatrix Transpose | ( | ) |
Calculate the matrix transpose.
bool operator== | ( | KFbxMatrix & | pM | ) |
Equivalence operator.
pM | The matrix to be compared against this matrix. |
true
if the two matrices are equal (each element is within a 1.0e-6 tolerance), false
otherwise. bool operator== | ( | KFbxXMatrix & | pM | ) |
Equivalence operator.
pM | The affine matrix to be compared against this matrix. |
true
if the two matrices are equal (each element is within a 1.0e-6 tolerance), false
otherwise bool operator!= | ( | KFbxMatrix & | pM | ) |
Non-equivalence operator.
pM | The matrix to be compared against this matrix. |
false
if the two matrices are equal (each element is within a 1.0e-6 tolerance), true
otherwise. bool operator!= | ( | KFbxXMatrix & | pM | ) |
Non-equivalence operator.
pM | The affine matrix to be compared against this matrix. |
false
if the two matrices are equal (each element is within a 1.0e-6 tolerance), true
otherwise operator double * | ( | ) |
Cast the vector in a double pointer.