|
inline_ | Matrix3x3 () |
| Empty constructor. More...
|
|
inline_ | Matrix3x3 (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) |
| Constructor from 9 values. More...
|
|
inline_ | Matrix3x3 (const Matrix3x3 &mat) |
| Copy constructor. More...
|
|
inline_ | ~Matrix3x3 () |
| Destructor. More...
|
|
inline_ void | Set (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) |
| Assign values. More...
|
|
inline_ void | SetScale (const Point &p) |
| Sets the scale from a Point. The point is put on the diagonal. More...
|
|
inline_ void | SetScale (float sx, float sy, float sz) |
| Sets the scale from floats. Values are put on the diagonal. More...
|
|
inline_ void | Scale (const Point &p) |
| Scales from a Point. Each row is multiplied by a component. More...
|
|
inline_ void | Scale (float sx, float sy, float sz) |
| Scales from floats. Each row is multiplied by a value. More...
|
|
inline_ void | Copy (const Matrix3x3 &source) |
| Copy from a Matrix3x3. More...
|
|
inline_ void | GetRow (const udword r, Point &p) const |
| Returns a row. More...
|
|
inline_ const Point & | GetRow (const udword r) const |
| Returns a row. More...
|
|
inline_ Point & | GetRow (const udword r) |
| Returns a row. More...
|
|
inline_ void | SetRow (const udword r, const Point &p) |
| Sets a row. More...
|
|
inline_ void | GetCol (const udword c, Point &p) const |
| Returns a column. More...
|
|
inline_ void | SetCol (const udword c, const Point &p) |
| Sets a column. More...
|
|
inline_ float | Trace () const |
| Computes the trace. The trace is the sum of the 3 diagonal components. More...
|
|
inline_ void | Zero () |
| Clears the matrix. More...
|
|
inline_ void | Identity () |
| Sets the identity matrix. More...
|
|
inline_ bool | IsIdentity () const |
| Checks for identity. More...
|
|
inline_ BOOL | IsValid () const |
| Checks matrix validity. More...
|
|
inline_ void | SkewSymmetric (const Point &a) |
|
inline_ void | Neg () |
| Negates the matrix. More...
|
|
inline_ void | Neg (const Matrix3x3 &mat) |
| Neg from another matrix. More...
|
|
inline_ void | Add (const Matrix3x3 &mat) |
| Add another matrix. More...
|
|
inline_ void | Sub (const Matrix3x3 &mat) |
| Sub another matrix. More...
|
|
inline_ void | Mac (const Matrix3x3 &a, const Matrix3x3 &b, float s) |
| Mac. More...
|
|
inline_ void | Mac (const Matrix3x3 &a, float s) |
| Mac. More...
|
|
inline_ void | Mult (const Matrix3x3 &a, float s) |
| this = A * s More...
|
|
inline_ void | Add (const Matrix3x3 &a, const Matrix3x3 &b) |
|
inline_ void | Sub (const Matrix3x3 &a, const Matrix3x3 &b) |
|
inline_ void | Mult (const Matrix3x3 &a, const Matrix3x3 &b) |
| this = a * b More...
|
|
inline_ void | MultAtB (const Matrix3x3 &a, const Matrix3x3 &b) |
| this = transpose(a) * b More...
|
|
inline_ void | MultABt (const Matrix3x3 &a, const Matrix3x3 &b) |
| this = a * transpose(b) More...
|
|
Matrix3x3 & | FromTo (const Point &from, const Point &to) |
| Makes a rotation matrix mapping vector "from" to vector "to". More...
|
|
void | RotX (float angle) |
|
void | RotY (float angle) |
|
void | RotZ (float angle) |
|
void | RotYX (float y, float x) |
|
Matrix3x3 & | Rot (float angle, const Point &axis) |
| Make a rotation matrix about an arbitrary axis. More...
|
|
void | Transpose () |
| Transpose the matrix. More...
|
|
void | Transpose (const Matrix3x3 &a) |
| this = Transpose(a) More...
|
|
float | Determinant () const |
| Compute the determinant of the matrix. We use the rule of Sarrus. More...
|
|
Matrix3x3 & | Invert () |
| Invert the matrix. Determinant must be different from zero, else matrix can't be inverted. More...
|
|
Matrix3x3 & | Normalize () |
|
Matrix3x3 & | Exp (const Matrix3x3 &a) |
| this = exp(a) More...
|
|
void | FromQuat (const Quat &q) |
|
void | FromQuatL2 (const Quat &q, float l2) |
|
inline_ Matrix3x3 | operator+ (const Matrix3x3 &mat) const |
| Operator for Matrix3x3 Plus = Matrix3x3 + Matrix3x3;. More...
|
|
inline_ Matrix3x3 | operator- (const Matrix3x3 &mat) const |
| Operator for Matrix3x3 Minus = Matrix3x3 - Matrix3x3;. More...
|
|
inline_ Matrix3x3 | operator* (const Matrix3x3 &mat) const |
| Operator for Matrix3x3 Mul = Matrix3x3 * Matrix3x3;. More...
|
|
inline_ Point | operator* (const Point &v) const |
| Operator for Point Mul = Matrix3x3 * Point;. More...
|
|
inline_ Matrix3x3 | operator* (float s) const |
| Operator for Matrix3x3 Mul = Matrix3x3 * float;. More...
|
|
inline_ Matrix3x3 | operator/ (float s) const |
| Operator for Matrix3x3 Div = Matrix3x3 / float;. More...
|
|
inline_ Matrix3x3 & | operator+= (const Matrix3x3 &mat) |
| Operator for Matrix3x3 += Matrix3x3. More...
|
|
inline_ Matrix3x3 & | operator-= (const Matrix3x3 &mat) |
| Operator for Matrix3x3 -= Matrix3x3. More...
|
|
inline_ Matrix3x3 & | operator*= (const Matrix3x3 &mat) |
| Operator for Matrix3x3 *= Matrix3x3. More...
|
|
inline_ Matrix3x3 & | operator*= (float s) |
| Operator for Matrix3x3 *= float. More...
|
|
inline_ Matrix3x3 & | operator/= (float s) |
| Operator for Matrix3x3 /= float. More...
|
|
| operator Matrix4x4 () const |
| Cast a Matrix3x3 to a Matrix4x4. More...
|
|
| operator Quat () const |
| Cast a Matrix3x3 to a Quat. More...
|
|
inline_ const Point & | operator[] (int row) const |
|
inline_ Point & | operator[] (int row) |
|
Definition at line 21 of file Opcode.h.