Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Matrix4 Class Reference

4x4 matrix class, right-handed coordinates system. More...

#include <Matrix4.h>

List of all members.

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 realdata () 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)
ObjectFileoperator>> (ObjectFile &f, Matrix4 &m)


Detailed Description

4x4 matrix class, right-handed coordinates system.


The documentation for this class was generated from the following files:
This documentation was generated using doxygen. If you have any comments or additions please mail me.