#include<kfbxmatrix.h>
Inherits fbxVectorTemplate4.
Definition at line62of 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 | 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 |
Equivalence operator. | |
bool | operator!=(KFbxXMatrix&pM) |
Non-equivalence operator. | |
bool | operator!=(KFbxXMatrixconst&pM) const |
Equivalence operator. | |
Casting | |
operator double *() | |
Cast the vector in a double pointer. | |
typedef const | double(kDouble44)[4][4] |
Cast the vector in a double pointer. | |
kDouble44& | Double44() const |
Cast the vector in a double pointer. |
KFbxMatrix | ( | ) |
Constructor. Constructs an identity matrix.
KFbxMatrix | ( | constKFbxMatrix& | 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 | ( | 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. |
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
otherwisebool operator== | ( | KFbxXMatrixconst& | 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!= | ( | 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 |
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 | ) |
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
otherwisebool operator!= | ( | KFbxXMatrixconst& | 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.operator double * | ( | ) |
Cast the vector in a double pointer.
typedef const double | ( | kDouble44 | ) |
Cast the vector in a double pointer.
kDouble44&Double44 | ( | ) | const[inline] |
Cast the vector in a double pointer.
Definition at line289of filekfbxmatrix.h.