![]() |
VR-Forces 4.6 Class Documentation
|
3 dimensional matrix More...
Public Member Functions | |
| DtMatrix3 () | |
| CTOR. | |
| DtMatrix3 (const T rhs[3][3]) | |
| CTOR. | |
| DtMatrix3 (T m00, T m01, T m02, T m10, T m11, T m12, T m20, T m21, T m22) | |
| CTOR. | |
| const void * | ptr (void) const |
| ~DtMatrix3 () | |
| DTOR. | |
| DtMatrix3 | operator* (const DtMatrix3 &rhs) const |
| Multiply 2 matrices. Returns this*rhs. | |
| DtVector3< T > | operator* (const DtVector3< T > &rhs) const |
| Multiply matrix with vector. Returns this*rhs. | |
| void | setZero (void) |
| Set all values to zero. | |
| void | setIdentity (void) |
| Set matrix to identity matrix. | |
| DtMatrix3 | getTranspose (void) const |
| Get the transpose of this matrix. | |
| bool | IsEqual (const DtMatrix3 &rhs, T tolerance) const |
| Check whether this matrix is equivalent to rhs within tolerance. | |
| const T * | operator[] (size_t iRow) const |
| T * | operator[] (size_t iRow) |
Static Public Attributes | |
| static DtMatrix3 | theIdentityMatrix |
Private Attributes | |
| union { | |
| T _m [9] | |
| T m [3][3] | |
| }; | |
3 dimensional matrix
| makVrv::DtMatrix3< T >::DtMatrix3 | ( | ) |
CTOR.
| makVrv::DtMatrix3< T >::DtMatrix3 | ( | const T | rhs[3][3] | ) |
CTOR.
| makVrv::DtMatrix3< T >::DtMatrix3 | ( | T | m00, |
| T | m01, | ||
| T | m02, | ||
| T | m10, | ||
| T | m11, | ||
| T | m12, | ||
| T | m20, | ||
| T | m21, | ||
| T | m22 | ||
| ) |
CTOR.
| makVrv::DtMatrix3< T >::~DtMatrix3 | ( | ) |
DTOR.
| const void * makVrv::DtMatrix3< T >::ptr | ( | void | ) | const |
| DtMatrix3< T > makVrv::DtMatrix3< T >::operator* | ( | const DtMatrix3< T > & | rhs | ) | const |
Multiply 2 matrices. Returns this*rhs.
References makVrv::DtMatrix3< T >::m.
| DtVector3< T > makVrv::DtMatrix3< T >::operator* | ( | const DtVector3< T > & | rhs | ) | const |
Multiply matrix with vector. Returns this*rhs.
References makVrv::DtMatrix3< T >::m, makVrv::DtVector3< T >::x, makVrv::DtVector3< T >::y, and makVrv::DtVector3< T >::z.
| void makVrv::DtMatrix3< T >::setZero | ( | void | ) |
Set all values to zero.
| void makVrv::DtMatrix3< T >::setIdentity | ( | void | ) |
Set matrix to identity matrix.
| DtMatrix3< T > makVrv::DtMatrix3< T >::getTranspose | ( | void | ) | const |
Get the transpose of this matrix.
| bool makVrv::DtMatrix3< T >::IsEqual | ( | const DtMatrix3< T > & | rhs, |
| T | tolerance | ||
| ) | const |
Check whether this matrix is equivalent to rhs within tolerance.
References makVrv::DtMath::isEqual().
| const T * makVrv::DtMatrix3< T >::operator[] | ( | size_t | iRow | ) | const |
References ASSERT_PREDICATE_RETURN_ZERO.
| T * makVrv::DtMatrix3< T >::operator[] | ( | size_t | iRow | ) |
References ASSERT_PREDICATE_RETURN_ZERO.
|
static |
| T makVrv::DtMatrix3< T >::_m[9] |
| T makVrv::DtMatrix3< T >::m[3][3] |
Referenced by makVrv::DtMatrix3< T >::operator*().
| union { ... } |