#include <Matrix4.h>
Public Methods | |
| Matrix4 () | |
| Matrix4 (const Matrix4 &m) | |
| void | identity () |
| void | transpose () |
| bool | inverse () |
| void | perspective (float fovy, float aspect, float zNear, float zFar) |
| Matrix4 & | setXAxis (Vertex3 &x) |
| Matrix4 & | setYAxis (Vertex3 &y) |
| Matrix4 & | setZAxis (Vertex3 &z) |
| Matrix4 & | setOrigin (Vertex3 &o) |
| MatrixRow | operator[] (unsigned int row) |
| const real * | data () const |
| Matrix4 & | operator= (const Matrix4 &right) |
| Matrix4 & | operator= (const Matrix3 &right) |
| void | operator *= (const Matrix4 &right) |
| Matrix4 | operator * (const Matrix4 &right) const |
| Matrix3 | operator * (const Matrix3 &right) const |
| Vertex3 | operator * (const Vertex3 &v) const |
| Vertex4 | operator * (const Vertex4 &v) const |
| Matrix4 | operator~ () const |
| real | det () const |
| real | lipschitz () const |
| Vertex3 | apply (const Vertex3 &v) const |
| Vertex4 | apply (const Vertex4 &v) const |
| Vertex3 | applyHomogenous (const Vertex3 &v) const |
| Vertex3 | applyM3 (const Vertex3 &v) const |
| void | scale (real x, real y, real z) |
| void | scale (Vertex3 v) |
| void | translate (real x, real y, real z) |
| void | translateSimple (real x, real y, real z) |
| void | translate (Vertex3 v) |
| void | rotate (Vertex3 &v) |
| void | rotateX (real alpha) |
| void | rotateY (real alpha) |
| void | rotateZ (real alpha) |
Friends | |
| ostream & | operator<< (ostream &stream, Matrix4 &m) |
| ObjectFile & | operator>> (ObjectFile &f, Matrix4 &m) |