#include<kfbxmatrix.h>
Inherits fbxVectorTemplate4.
Definition at line58of filekfbxmatrix.h.
Constructors and Destructor | |
KFbxMatrix() | |
Constructor. Constructs an identity matrix. | |
KFbxMatrix(constKFbxMatrix&pM) | |
Copy constructor. | |
KFbxMatrix(KFbxVector4&pT,KFbxVector4&pR,KFbxVector4&pS) | |
Constructor. | |
KFbxMatrix(KFbxVector4&pT,KFbxQuaternion&pQ,KFbxVector4&pS) | |
Constructor. | |
KFbxMatrix(constKFbxXMatrix&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=(constKFbxMatrix&pMatrix) |
Assignment operator. | |
Matrix Operations | |
KFbxMatrix | operator-() |
Unary minus operator. | |
KFbxMatrix | operator+(constKFbxMatrix&pMatrix) const |
Add two matrices together. | |
KFbxMatrix | operator-(constKFbxMatrix&pMatrix) const |
Subtract a matrix from another matrix. | |
KFbxMatrix | operator*(constKFbxMatrix&pMatrix) const |
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 | Inverse() |
Calculate the matrix inverse. | |
KFbxMatrix | Transpose() |
Calculate the matrix transpose. | |
Vector Operations | |
KFbxVector4 | MultNormalize(constKFbxVector4&pVector) const |
Multiply this matrix by pVector, the w component is normalized to 1. | |
Boolean Operations | |
bool | operator==(KFbxMatrix&pM) |
Equivalence operator. | |
bool | operator==(KFbxMatrixconst&pM) const |
Equivalence operator. | |
bool | operator==(KFbxXMatrix&pM) |
Equivalence operator. | |
bool | operator==(KFbxXMatrixconst&pM) const |
Equivalence operator. | |
bool | operator!=(KFbxMatrix&pM) |
Non-equivalence operator. | |
bool | operator!=(KFbxMatrixconst&pM) const |
Non-equivalence operator. | |
bool | operator!=(KFbxXMatrix&pM) |
Non-equivalence operator. | |
bool | operator!=(KFbxXMatrixconst&pM) const |
Non-equivalence operator. | |
Casting | |
operator double *() | |
Cast the vector in a double pointer. | |
typedef const | double(kDouble44)[4][4] |
Define 4*4 array as a new type. | |
kDouble44& | Double44() const |
Cast the matrix in a referance to a 4*4 array. |
KFbxMatrix | ( | ) |
Constructor. Constructs an identity matrix.
KFbxMatrix | ( | constKFbxMatrix& | pM | ) |
Copy constructor.
pM | AnotherKFbxMatrixobject copied to this one. |
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 | ( | constKFbxXMatrix& | pM | ) |
Constructor.
pM | Affine matrix |
~KFbxMatrix | ( | ) |
Destructor.
double Get | ( | int | pY, | |
int | pX | |||
) |
Retrieve matrix element.
pY | Row index. | |
pX | Column index. |
KFbxVector4GetRow | ( | int | pY | ) |
Extract a row vector.
pY | Row index. |
KFbxVector4GetColumn | ( | 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= | ( | constKFbxMatrix& | pMatrix | ) |
Assignment operator.
pMatrix | Source matrix. |
KFbxMatrixoperator- | ( | ) |
Unary minus operator.
KFbxMatrixoperator+ | ( | constKFbxMatrix& | pMatrix | ) | const |
Add two matrices together.
pMatrix | A matrix. |
KFbxMatrixoperator- | ( | constKFbxMatrix& | pMatrix | ) | const |
Subtract a matrix from another matrix.
pMatrix | A matrix. |
KFbxMatrixoperator* | ( | constKFbxMatrix& | pMatrix | ) | const |
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. |
KFbxMatrixInverse | ( | ) |
Calculate the matrix inverse.
KFbxMatrixTranspose | ( | ) |
Calculate the matrix transpose.
KFbxVector4MultNormalize | ( | constKFbxVector4& | pVector | ) | const |
Multiply this matrix by pVector, the w component is normalized to 1.
pVector | A vector. |
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== | ( | KFbxMatrixconst& | pM | ) | const |
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== | ( | KFbxXMatrixconst& | pM | ) | const |
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!= | ( | KFbxMatrixconst& | pM | ) | const |
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.bool operator!= | ( | KFbxXMatrixconst& | pM | ) | const |
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.
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 line314of filekfbxmatrix.h.