|
AGX Dynamics 2.41.2.0
|
Specialized types of matrices for holding orthogonal transformation matrices. More...
#include <OrthoMatrix3x3.h>
Public Member Functions | |
| OrthoMatrix3x3 () | |
| Default constructor. | |
| OrthoMatrix3x3 (const OrthoMatrix3x3 &mat) | |
| Copy constructor. | |
| OrthoMatrix3x3 (const Quat &quat) | |
| OrthoMatrix3x3 (EulerAngles &euler) | |
| OrthoMatrix3x3 (Real a00, Real a01, Real a02, Real a10, Real a11, Real a12, Real a20, Real a21, Real a22) | |
| OrthoMatrix3x3 (Real const *const ptr) | |
| ~OrthoMatrix3x3 () | |
| Quat | get () const |
| void | get (EulerAngles &e) const |
| Convert the rotation of this matrix into a specified EulerAngles representation. | |
| void | get (Quat &q) const |
| Set the quaternion with the rotation from this matrix. | |
| Vec3 | getRow (size_t row) const |
| Return the row of the matrix,. | |
| Vec3 | getScale () const |
| OrthoMatrix3x3 | inverse () const |
| bool | isIdentity () const |
| bool | isNaN () const |
| bool | isValid () const |
| void | mult (const OrthoMatrix3x3 &, const OrthoMatrix3x3 &) |
| bool | operator!= (const OrthoMatrix3x3 &m) const |
| Real & | operator() (size_t row, size_t col) |
| Real | operator() (size_t row, size_t col) const |
| OrthoMatrix3x3 | operator* (const OrthoMatrix3x3 &m) const |
| Vec3 | operator* (const Vec3 &v) const |
| void | operator*= (const OrthoMatrix3x3 &other) |
| OrthoMatrix3x3 & | operator= (const OrthoMatrix3x3 &rhs) |
| bool | operator== (const OrthoMatrix3x3 &m) const |
| void | postMult (const OrthoMatrix3x3 &) |
| Vec3 | postMult (const Vec3 &v) const |
| void | preMult (const OrthoMatrix3x3 &) |
| Vec3 | preMult (const Vec3 &v) const |
| Real * | ptr () |
| const Real * | ptr () const |
| void | set (const OrthoMatrix3x3 &rhs) |
| OrthoMatrix3x3 & | set (const Quat &q_) |
| Set the value of this matrix from the specified quaternion. | |
| OrthoMatrix3x3 & | set (EulerAngles &e) |
| Set the rotation of matrix to be the rotation specified in the given EulerAngles object. | |
| void | set (Real a00, Real a01, Real a02, Real a10, Real a11, Real a12, Real a20, Real a21, Real a22) |
| void | set (Real const *const ptr) |
| void | setColumn (size_t col, const agx::Vec3 &vec) |
| Set the column of the matrix,. | |
| void | setIdentity () |
| void | setRotate (const Quat &) |
| void | setRotate (const Vec3 &from, const Vec3 &to) |
| void | setRotate (Real angle, const Vec3 &axis) |
| void | setRotate (Real angle, Real x, Real y, Real z) |
| void | setRotate (Real angle1, const Vec3 &axis1, Real angle2, const Vec3 &axis2, Real angle3, const Vec3 &axis3) |
| void | setRow (size_t row, const agx::Vec3 &vec) |
| Set the row of the matrix,. | |
| OrthoMatrix3x3 | transpose () const |
Static Public Member Functions | |
| static OrthoMatrix3x3 | rotate (const Vec3 &from, const Vec3 &to) |
| static OrthoMatrix3x3 | rotate (Real angle, const Vec3 &axis) |
| static OrthoMatrix3x3 | rotate (Real angle, Real x, Real y, Real z) |
| static OrthoMatrix3x3 | rotate (Real angle1, const Vec3 &axis1, Real angle2, const Vec3 &axis2, Real angle3, const Vec3 &axis3) |
Protected Member Functions | |
| bool | invert (const OrthoMatrix3x3 &rhs) |
| bool | invert_3x3_new (const agx::OrthoMatrix3x3 &) |
Protected Attributes | |
| Real | m_data [3][3] |
Specialized types of matrices for holding orthogonal transformation matrices.
Definition at line 33 of file OrthoMatrix3x3.h.
|
inline |
|
inline |
|
inlineexplicit |
Definition at line 49 of file OrthoMatrix3x3.h.
|
inlineexplicit |
Definition at line 52 of file OrthoMatrix3x3.h.
|
inlineexplicit |
Definition at line 56 of file OrthoMatrix3x3.h.
| agx::OrthoMatrix3x3::OrthoMatrix3x3 | ( | Real | a00, |
| Real | a01, | ||
| Real | a02, | ||
| Real | a10, | ||
| Real | a11, | ||
| Real | a12, | ||
| Real | a20, | ||
| Real | a21, | ||
| Real | a22 | ||
| ) |
|
inline |
Definition at line 97 of file OrthoMatrix3x3.h.
|
inline |
| void agx::OrthoMatrix3x3::get | ( | EulerAngles & | e | ) | const |
Convert the rotation of this matrix into a specified EulerAngles representation.
| void agx::OrthoMatrix3x3::get | ( | Quat & | q | ) | const |
Set the quaternion with the rotation from this matrix.
|
inline |
Return the row of the matrix,.
| row | must be between [0..2] |
Definition at line 76 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 206 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 273 of file OrthoMatrix3x3.h.
References invert().
|
protected |
Referenced by inverse().
|
protected |
| bool agx::OrthoMatrix3x3::isIdentity | ( | ) | const |
References agx::inverse().
|
inline |
Definition at line 120 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 117 of file OrthoMatrix3x3.h.
References agx::isNaN().
| void agx::OrthoMatrix3x3::mult | ( | const OrthoMatrix3x3 & | , |
| const OrthoMatrix3x3 & | |||
| ) |
Referenced by operator*().
|
inline |
Definition at line 105 of file OrthoMatrix3x3.h.
References m_data.
|
inline |
Definition at line 110 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 113 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 224 of file OrthoMatrix3x3.h.
References mult().
Definition at line 304 of file OrthoMatrix3x3.h.
References postMult().
|
inline |
Definition at line 216 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 132 of file OrthoMatrix3x3.h.
References ptr().
|
inline |
Definition at line 100 of file OrthoMatrix3x3.h.
References m_data.
| void agx::OrthoMatrix3x3::postMult | ( | const OrthoMatrix3x3 & | ) |
Definition at line 287 of file OrthoMatrix3x3.h.
References m_data, agx::Vec3T< T >::x(), agx::Vec3T< T >::y(), and agx::Vec3T< T >::z().
Referenced by operator*().
| void agx::OrthoMatrix3x3::preMult | ( | const OrthoMatrix3x3 & | ) |
Definition at line 293 of file OrthoMatrix3x3.h.
References m_data, agx::Vec3T< T >::x(), agx::Vec3T< T >::y(), and agx::Vec3T< T >::z().
Referenced by agx::operator*().
|
inline |
Definition at line 175 of file OrthoMatrix3x3.h.
Referenced by OrthoMatrix3x3(), operator=(), and set().
|
inline |
Definition at line 178 of file OrthoMatrix3x3.h.
|
inlinestatic |
Definition at line 266 of file OrthoMatrix3x3.h.
References setRotate().
|
inlinestatic |
Definition at line 252 of file OrthoMatrix3x3.h.
References setRotate().
|
inlinestatic |
Definition at line 246 of file OrthoMatrix3x3.h.
References setRotate().
|
inlinestatic |
Definition at line 258 of file OrthoMatrix3x3.h.
References setRotate().
|
inline |
Definition at line 138 of file OrthoMatrix3x3.h.
References ptr().
| OrthoMatrix3x3 & agx::OrthoMatrix3x3::set | ( | const Quat & | q_ | ) |
Set the value of this matrix from the specified quaternion.
| OrthoMatrix3x3 & agx::OrthoMatrix3x3::set | ( | EulerAngles & | e | ) |
Set the rotation of matrix to be the rotation specified in the given EulerAngles object.
| void agx::OrthoMatrix3x3::set | ( | Real | a00, |
| Real | a01, | ||
| Real | a02, | ||
| Real | a10, | ||
| Real | a11, | ||
| Real | a12, | ||
| Real | a20, | ||
| Real | a21, | ||
| Real | a22 | ||
| ) |
|
inline |
Definition at line 142 of file OrthoMatrix3x3.h.
|
inline |
Set the column of the matrix,.
| col | must be between [0..2] |
| vec | - value of the column |
Definition at line 86 of file OrthoMatrix3x3.h.
| void agx::OrthoMatrix3x3::setIdentity | ( | ) |
| void agx::OrthoMatrix3x3::setRotate | ( | const Quat & | ) |
| void agx::OrthoMatrix3x3::setRotate | ( | Real | angle1, |
| const Vec3 & | axis1, | ||
| Real | angle2, | ||
| const Vec3 & | axis2, | ||
| Real | angle3, | ||
| const Vec3 & | axis3 | ||
| ) |
|
inline |
Set the row of the matrix,.
| row | must be between [0..2] |
| vec | - value of the row |
Definition at line 66 of file OrthoMatrix3x3.h.
|
inline |
Definition at line 280 of file OrthoMatrix3x3.h.
References OrthoMatrix3x3(), and m_data.
|
protected |
Definition at line 235 of file OrthoMatrix3x3.h.
Referenced by operator!=(), operator==(), postMult(), preMult(), and transpose().