|
Public Member Functions |
| | Matrix3by3 () |
| | Matrix3by3 (Real x00, Real x01, Real x02, Real x10, Real x11, Real x12, Real x20, Real x21, Real x22) |
| | Matrix3by3 (float mat[9]) |
| | Matrix3by3 (double mat[9]) |
| | Matrix3by3 (const Vector3D &a, const Vector3D &b) |
| | Matrix3by3 (const Vector3D &v1, const Vector3D &v2, const Vector3D &v3) |
| const Matrix3by3 & | getIdentity () |
| void | identity () |
| void | zeroMatrix () |
| bool | zero () const |
| Real | det () |
| Real | operator() (int i, int j) const |
| void | operator() (int i, int j, Real x) |
| void | operator() (Real x00, Real x01, Real x02, Real x10, Real x11, Real x12, Real x20, Real x21, Real x22) |
| bool | operator== (const Matrix3by3 &tm) const |
| bool | operator!= (const Matrix3by3 &tm) const |
| Matrix3by3 & | operator *= (const Matrix3by3 &tm) |
| Matrix3by3 | operator * (const Matrix3by3 &tm) const |
| Vector3D | operator * (const Vector3D &tm) const |
| Matrix3by3 & | operator *= (const Real tm) |
| Matrix3by3 | operator * (const Real tm) const |
| Matrix3by3 & | operator/= (const Real tm) |
| Matrix3by3 | operator/ (const Real tm) const |
| Matrix3by3 & | operator+= (const Matrix3by3 &tm) |
| Matrix3by3 | operator+ (const Matrix3by3 &tm) const |
| Matrix3by3 & | operator-= (const Matrix3by3 &tm) |
| Matrix3by3 | operator- (const Matrix3by3 &tm) const |
| Matrix3by3 | operator- (void) const |
| void | transpose () |
| void | transpose (const Matrix3by3 &tm) |
| Matrix3by3 | transposed () const |
| bool | invert () |
| void | scale (Real sx, Real sy, Real sz) |
| void | scale (Real s) |
| void | scale (const Vector3D &scaleFactor) |
| void | rotate (const Vector3D &axis, Real alpha) |
| void | rotate (const Vector3D &axis, Real sinAlpha, Real cosAlpha) |
| void | rotate (const Vector3D &from, const Vector3D &to) |
Private Attributes |
| Real | m00 |
| Real | m01 |
| Real | m02 |
| Real | m10 |
| Real | m11 |
| Real | m12 |
| Real | m20 |
| Real | m21 |
| Real | m22 |
Static Private Attributes |
| const Matrix3by3 | ourIdentity = Matrix3by3(1,0,0, 0,1,0, 0,0,1) |
Friends |
| std::ostream & | operator<< (std::ostream &os, const Matrix3by3 &tm) |
| Vector3D | operator * (const Vector3D &point, const Matrix3by3 &tm) |
| void | convert (const Matrix3by3 &from, double to[9]) |
| void | convert (const Matrix3by3 &from, float to[9]) |