Public Member Functions |
| Matrix3x3 () |
| Default constructor. Creates null matrix.
|
| Matrix3x3 (const Scalar &xx, const Scalar &xy, const Scalar &xz, const Scalar &yx, const Scalar &yy, const Scalar &yz, const Scalar &zx, const Scalar &zy, const Scalar &zz) |
| Constructor for 9 (row-major) scalar input values.
|
Vector3 & | operator[] (size_t n) |
const Vector3 & | operator[] (size_t n) const |
Matrix3x3 & | operator*= (const Matrix3x3 &m) |
| Matrix-matrix product.
|
Scalar | tdot (size_t c, const Vector3 &v) const |
| Dot product between matrix column given by c and vector v.
|
Scalar | determinant () const |
| Matrix determinant.
|
Matrix3x3 | adjoint () const |
| Adjoint matrix.
|
Matrix3x3 | transpose () const |
| Transpose matrix.
|
Matrix3x3 | inverse () const |
| Inverse matrix.
|
Matrix3x3 | transposeTimes (const Matrix3x3 &m) const |
| Calculates .
|
Matrix3x3 | timesTranspose (const Matrix3x3 &m) const |
| Calculates .
|
Matrix3x3 & | scale (const Vector3 &v) |
| Scales matrix according to input vector v.
|
Vector3 & | at (size_t n) |
const Vector3 & | at (size_t n) const |
Vector3 | getScaling () const |
| Gets matrix scaling vector.
|
void | setValue (const Scalar &xx, const Scalar &xy, const Scalar &xz, const Scalar &yx, const Scalar &yy, const Scalar &yz, const Scalar &zx, const Scalar &zy, const Scalar &zz) |
| Sets matrix values from 9 scalar input values (row-major ordered).
|
void | setIdentity () |
| Sets identity matrix values.
|
Row-major 3x3 matrix class.
The Matrix3x3 class provides the usual operators and functions used for expressing and manipulating 3x3 matrices.