#include <freecloth/geom/geMatrix3.h>
Public Methods | |
GeMatrix3 () | |
GeMatrix3 (Float entry00, Float entry01, Float entry02, Float entry10, Float entry11, Float entry12, Float entry20, Float entry21, Float entry22) | |
Float | operator() (UInt32 row, UInt32 col) const |
Float & | operator() (UInt32 row, UInt32 col) |
GeMatrix3 & | operator *= (const GeMatrix3 &) |
GeMatrix3 & | operator *= (Float) |
GeMatrix3 & | operator+= (const GeMatrix3 &) |
GeMatrix3 & | operator-= (const GeMatrix3 &) |
GeMatrix3 | operator * (const GeMatrix3 &) const |
GeVector | operator * (const GeVector &) const |
GePoint | operator * (const GePoint &) const |
GeMatrix3 | operator * (Float) const |
GeMatrix3 | operator+ (const GeMatrix3 &) const |
GeMatrix3 | operator- (const GeMatrix3 &) const |
bool | operator== (const GeMatrix3 &) const |
bool | operator!= (const GeMatrix3 &) const |
Float | getTrace () const |
Sum of diagonal elements. | |
Float | infinityNorm () const |
Not the standard definition... max of all elements. | |
const Float * | asColMajor () const |
Retrieve data as a flat array, column-major storage. | |
GeMatrix3 | getTranspose () const |
GeMatrix3 | getInverse () const |
Static Public Methods | |
GeMatrix3 | colMajor (const Float data[9]) |
Named constructor: construct from float array, column-major storage. | |
GeMatrix3 | rowMajor (const Float data[9]) |
Named constructor: construct from float array, row-major storage. | |
GeMatrix3 | scaling (Float sx, Float sy, Float sz) |
Named constructor: construct a scaling matrix, with [sx sy sz] along the main diagonal. | |
GeMatrix3 | rotation (const GeVector &axis, Float theta) |
Named constructor: construct a rotation matrix, representing a rotation of theta about the given axis. | |
GeMatrix3 | outerProduct (const GeVector &a, const GeVector &b) |
Named constructor: create matrix M = a * b^T. | |
Static Public Attributes | |
const GeMatrix3 | ZERO |
const GeMatrix3 | IDENTITY |
Definition at line 39 of file geMatrix3.h.