Inheritance diagram for mini3d::matrix3d:
Public Member Functions | |
matrix3d () | |
A default constructor. | |
matrix3d (const matrix<double, 3, 3>& src) | |
A copy constructor from base class. | |
matrix3d (const matrix3d& src) | |
A copy constructor. | |
matrix3d (double m[9]) | |
A constructor. | |
matrix3d (double m[3][3]) | |
A constructor. | |
matrix3d (double m0, double m1, double m2, double m3, double m4, double m5, double m6, double m7, double m8) | |
A constructor. | |
virtual | ~matrix3d () |
A destructor. | |
matrix3d | operator* (const matrix3d& m) const |
Multiply the matrix with a matrix and return the new matrix. | |
vector3d | operator* (const vector3d& v) const |
Multiply the matrix with a vector and return the new vector. | |
matrix3d& | operator= (const matrix<double, 3, 3>& src) |
Copy from the base class. | |
void | makeRotate (quat4d q) |
Make a transformation for rotation. | |
void | makeRotate (double rad, const vector3d& axis) |
Make a transformation for rotation. | |
void | getRotate (quat4d& q) const |
Get the quaternion. | |
void | getRotateYZX (vector3d& e) const |
Get the Euler angles in YZX order (body frame). | |
void | getRotateXYZ (vector3d& e) const |
Get the Euler angles in XYZ order (body frame). | |
void | getRotateXYZf (vector3d& e) const |
Get the Euler angles in XYZ order (fixed frame). | |
bool | invert () |
Invert itself. | |
bool | inverse (matrix3d& inv) const |
Return the inverse of this matrix. | |
matrix3d | transpose () const |
Get a transpose of this matrix. | |
Static Public Attributes | |
static const matrix3d | _identity_matrix |
static const matrix3d | _zero_matrix |
The matrix is row major
[ m0, m1, m2 ]
[ m3, m4, m5 ]
[ m6, m7, m8 ]
{ m0, m1, m2, m3, m4 , m5, m6, m7, m8 }
|
A default constructor. The matrix will set as a zero matrix. |
|
A copy constructor from base class.
|
|
A copy constructor.
|
|
A constructor.
The matrix will set as
|
|
A constructor.
The matrix will set as
|
|
A constructor.
The matrix will set as |
|
A destructor.
|
|
Get the quaternion.
|
|
Get the Euler angles in XYZ order (body frame).
|
|
Get the Euler angles in XYZ order (fixed frame).
|
|
Get the Euler angles in YZX order (body frame).
|
|
Return the inverse of this matrix.
|
|
Invert itself.
|
|
Make a transformation for rotation.
|
|
Make a transformation for rotation.
|
|
Multiply the matrix with a vector and return the new vector. result = (*this) * v;
|
|
Multiply the matrix with a matrix and return the new matrix. result = (*this) * m;
|
|
Copy from the base class.
|
|
Get a transpose of this matrix.
Reimplemented from mini3d::matrix<double, 3, 3>. |
|
|
|
|