3DCoat
3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
|
Class for working with matrix 4 x 4. More...
#include <SMat4.h>
Public Member Functions | |
Mat4 () | |
Constructor for building a zero matrix. More... | |
operator Quat () const | |
Ability for converting Mat4 to Quat . More... | |
operator std::string () const | |
Ability for converting Mat4 to string . More... | |
bool | operator== (const Mat4 &b) const |
Comparison. More... | |
bool | identity () const |
Returns TRUE when the matrix is identity. More... | |
bool | orthonormalized () const |
Returns TRUE when the matrix is ortonormal. More... | |
bool | symmetric () const |
Returns TRUE when the matrix is symmetric. More... | |
bool | zero () const |
Returns TRUE when all values of the matrix are zero. More... | |
Mat4 & | operator() (int row, int col, float v) |
Setter like array. More... | |
float | operator() (int row, int col) const |
Getter like array. More... | |
Mat4 | operator- () const |
Negation operator. More... | |
float | determinant () const |
Returns determinant of the matrix. More... | |
float | trace () const |
Returns trace of the matrix. More... | |
Mat4 & | invert () |
Invert the matrix. More... | |
Mat4 | invertCopy () const |
Mat4 & | transpose () |
Transpose the matrix. More... | |
Mat4 | transposeCopy () const |
Class for working with matrix 4 x 4.
|
inline |
Constructor for building a zero matrix.
Referenced by operator-().
|
inline |
Returns determinant of the matrix.
|
inline |
Returns TRUE
when the matrix is identity.
|
inline |
Invert the matrix.
coat::scripto::Mat4::operator Quat | ( | ) | const |
coat::scripto::Mat4::operator std::string | ( | ) | const |
|
inline |
Setter like array.
|
inline |
Getter like array.
|
inline |
|
inline |
|
inline |
Returns TRUE
when the matrix is ortonormal.
|
inline |
Returns TRUE
when the matrix is symmetric.
|
inline |
|
inline |
|
inline |
|
inline |
Returns TRUE
when all values of the matrix are zero.