#include <_Matrix3.h>
Public Member Functions | |
_Matrix3 () | |
_Matrix3 (Type s) | |
_Matrix3 (Type m00, Type m01=0, Type m02=0, Type m10=0, Type m11=0, Type m12=0, Type m20=0, Type m21=0, Type m22=0) | |
_Matrix3 (const _Matrix3< double > &m) | |
_Matrix3 (const _Matrix3< float > &m) | |
_Matrix3 (const Type v[9]) | |
void | add (Type d) |
void | add (Type d, const _Matrix3< Type > &m) |
void | add (const _Matrix3< Type > &m) |
void | add (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
Type | determinant (void) const |
bool | epsilonEquals (const _Matrix3< Type > &m, Type d) const |
bool | equals (const _Matrix3< Type > &m) const |
void | getColumn (int column, _Vector3< Type > &v) const |
void | getColumn (int column, Type ad[]) const |
Type | getElement (int row, int column) const |
void | getRow (int row, _Vector3< Type > &v) const |
void | getRow (int row, Type ad[3]) const |
void | get (float ad[9]) const |
void | get (double ad[9]) const |
Type | getScale () const |
void | getScaleRotate (double ad[3], double ad1[9]) const |
void | invert () |
void | invert (const _Matrix3< Type > &m) |
void | mul (Type d) |
void | mul (Type d, const _Matrix3< Type > &m) |
void | mul (const _Matrix3< Type > &m) |
void | mul (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
void | mulNormalize (const _Matrix3< Type > &m) |
void | mulNormalize (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
void | mulTransposeBoth (const _Matrix3< Type > m, const _Matrix3< Type > &m1) |
void | mulTransposeLeft (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
void | mulTransposeRight (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
void | negate () |
void | negate (const _Matrix3< Type > &m) |
void | normalize () |
void | normalize (const _Matrix3< Type > &m) |
void | normalizeCP () |
void | normalizeCP (const _Matrix3< Type > &m) |
void | rotX (Type angle) |
void | rotY (Type angle) |
void | rotZ (Type angle) |
void | set (Type mm00, Type mm01, Type mm02, Type mm10, Type mm11, Type mm12, Type mm20, Type mm21, Type mm22) |
void | set (Type d) |
void | set (const _Matrix3< double > &m) |
void | set (const _Matrix3< float > &m) |
void | set (const _Quat4< double > &q) |
void | set (const _Quat4< float > &q) |
void | set (const double at[9]) |
void | set (const float at[9]) |
void | setColumn (int column, Type x, Type y, Type z) |
void | setColumn (int column, const _Vector3< Type > &at) |
void | setColumn (int column, const Type v[3]) |
void | setElement (int row, int column, Type value) |
void | setIdentity () |
void | setRow (int row, Type x, Type y, Type z) |
void | setRow (int row, const _Vector3< Type > &v) |
void | setRow (int row, const Type v[]) |
void | setScale (Type d) |
void | setZero () |
void | sub (const _Matrix3< Type > &m) |
void | sub (const _Matrix3< Type > &m, const _Matrix3< Type > &m1) |
void | set (const _Vector3< Type > &v) |
void | swapRow (int row1, int row2) |
void | swapColumn (int col1, int col2) |
void | transform (_Tuple3< Type > &t) const |
void | transform (const _Tuple3< Type > &t, _Tuple3< Type > &t1) const |
void | transpose (void) |
void | transpose (const _Matrix3< Type > &m) |
operator const Type * () const | |
Type & | operator() (int row, int column) const |
template<> | |
const double | EPS |
template<> | |
const double | ERR_EPS |
template<> | |
const float | EPS |
template<> | |
const float | ERR_EPS |
Static Public Member Functions | |
static void | compute_svd (double ad[], double ad1[], double ad2[], bool flag) |
static Type | determinant2x2 (Type a, Type b, Type c, Type d) |
static Type | determinant3x3 (Type a1, Type a2, Type a3, Type b1, Type b2, Type b3, Type c1, Type c2, Type c3) |
Public Attributes | |
Type | m00 |
Type | m01 |
Type | m02 |
Type | m10 |
Type | m11 |
Type | m12 |
Type | m20 |
Type | m21 |
Type | m22 |
Static Public Attributes | |
static const Type | EPS |
static const Type | ERR_EPS |
Private Member Functions | |
void | setAxisAngle (Type x, Type y, Type z, Type angle) |
void | setQuat (Type x, Type y, Type z, Type w) |
Definition at line 30 of file _Matrix3.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 46 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 32 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 24 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 10 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Referenced by _Matrix4< Type >::getScaleRotate(), _Matrix3< Type >::mulNormalize(), and _Matrix3< Type >::normalize(). |
|
Definition at line 92 of file _Matrix3.h. Referenced by _Matrix3< Type >::invert(). |
|
Definition at line 461 of file _Matrix3.h. |
|
Definition at line 465 of file _Matrix3.h. Referenced by _Matrix4< Type >::adjoint(), _Matrix4< Type >::determinant(), and _Matrix4< Type >::determinant3x3(). |
|
Definition at line 6 of file _Matrix3.cc. |
|
Definition at line 4 of file _Matrix3.cc. |
|
Definition at line 73 of file _Matrix3.cc. References Math::epsilonEquals(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 87 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 7 of file _Matrix3.cc. |
|
Definition at line 5 of file _Matrix3.cc. |
|
Definition at line 116 of file _Matrix3.h. |
|
Definition at line 104 of file _Matrix3.h. Referenced by _Matrix3< Type >::normalize(). |
|
Definition at line 113 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 95 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Tuple3< Type >::set(). |
|
Definition at line 137 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 184 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 166 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Tuple3< Type >::set(). |
|
Definition at line 128 of file _Matrix3.h. References Math::max3(). |
|
Definition at line 135 of file _Matrix3.h. Referenced by _Matrix3< Type >::normalize(). |
|
Definition at line 208 of file _Matrix3.cc. References _Matrix3< Type >::determinant(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 142 of file _Matrix3.h. |
|
Definition at line 266 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 151 of file _Matrix3.h. |
|
Definition at line 257 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 243 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 295 of file _Matrix3.cc. References _Matrix3< Type >::compute_svd(), _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 157 of file _Matrix3.h. |
|
Definition at line 314 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 343 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 372 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 401 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 166 of file _Matrix3.h. |
|
Definition at line 418 of file _Matrix3.cc. References _Matrix3< Type >::compute_svd(), _Matrix3< Type >::get(), and _Matrix3< Type >::set(). |
|
Definition at line 409 of file _Matrix3.cc. References _Matrix3< Type >::getScaleRotate(), and _Matrix3< Type >::set(). |
|
Definition at line 429 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 174 of file _Matrix3.h. |
|
Definition at line 449 of file _Matrix3.h. |
|
Definition at line 453 of file _Matrix3.h. |
|
Definition at line 445 of file _Matrix3.cc. References _Matrix3< Type >::set(). |
|
Definition at line 456 of file _Matrix3.cc. References _Matrix3< Type >::set(). |
|
Definition at line 467 of file _Matrix3.cc. References _Matrix3< Type >::set(). |
|
Definition at line 373 of file _Matrix3.h. References _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z. |
|
Definition at line 250 of file _Matrix3.h. |
|
Definition at line 244 of file _Matrix3.h. |
|
Definition at line 240 of file _Matrix3.h. References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z. |
|
Definition at line 236 of file _Matrix3.h. References _Tuple4< Type >::w, _Tuple4< Type >::x, _Tuple4< Type >::y, and _Tuple4< Type >::z. |
|
Definition at line 214 of file _Matrix3.h. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 208 of file _Matrix3.h. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 191 of file _Matrix3.h. |
|
|
Definition at line 478 of file _Matrix3.cc. References Math::epsilonEquals(), _Matrix3< Type >::set(), and _Matrix3< Type >::setIdentity(). |
|
Definition at line 300 of file _Matrix3.h. |
|
Definition at line 278 of file _Matrix3.h. References _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z. |
|
Definition at line 256 of file _Matrix3.h. |
|
Definition at line 322 of file _Matrix3.h. |
|
Definition at line 348 of file _Matrix3.h. Referenced by _Matrix3< Type >::setAxisAngle(). |
|
Definition at line 501 of file _Matrix3.cc. References _Matrix3< Type >::set(). |
|
|
|
Definition at line 563 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z. |
|
Definition at line 515 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 356 of file _Matrix3.h. |
|
Definition at line 365 of file _Matrix3.h. |
|
Definition at line 601 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, and _Matrix3< Type >::set(). |
|
Definition at line 587 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, and _Matrix3< Type >::m22. |
|
Definition at line 406 of file _Matrix3.h. References Math::swap(). |
|
Definition at line 380 of file _Matrix3.h. References Math::swap(). |
|
Definition at line 609 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Tuple3< Type >::x, _Tuple3< Type >::y, and _Tuple3< Type >::z. |
|
Definition at line 435 of file _Matrix3.h. |
|
Definition at line 618 of file _Matrix3.cc. References _Matrix3< Type >::m00, _Matrix3< Type >::m01, _Matrix3< Type >::m02, _Matrix3< Type >::m10, _Matrix3< Type >::m11, _Matrix3< Type >::m12, _Matrix3< Type >::m20, _Matrix3< Type >::m21, _Matrix3< Type >::m22, _Matrix3< Type >::set(), and _Matrix3< Type >::transpose(). |
|
Definition at line 441 of file _Matrix3.h. References Math::swap(). Referenced by _Matrix3< Type >::transpose(). |
|
Definition at line 32 of file _Matrix3.h. |
|
Definition at line 33 of file _Matrix3.h. |
|
|
|
|
|
|
|
|
|