Matrix Klassenreferenz

Matrixklasse. Mehr ...

#include <Matrix.h>

Aufstellung aller Elemente

Öffentliche Methoden

 Matrix ()
 Konstruktor.
virtual ~Matrix ()
 Destruktor.
void clear (void)
 Initialisiert die Matrix.
void set (Vec &v1, Vec &v2, Vec &v3)
 Setter fuer die Matrix.
void setInv (Vec &v1, Vec &v2, Vec &v3)
 Invertiert die Matrix.
void rotateX (int w)
 Bildet die Matrix zu einer Rotation um die X Achse.
void rotateY (int w)
 Bildet die Matrix zu einer Rotation um die Y Achse.
void rotateZ (int w)
 Bildet die Matrix zu einer Rotation um die Z Achse.
void rotateXRad (float w)
 Bildet die Matrix zu einer Rotation um die X Achse.
void rotateYRad (float w)
 Bildet die Matrix zu einer Rotation um die Y Achse.
void rotateZRad (float w)
 Bildet die Matrix zu einer Rotation um die Z Achse.
void translate (Vec &v)
 Bildet eine Translationsmatrix.
void scale (float s)
 Skaliert die Matrix.
void dump (void)
 Obligatorische Dump-Methode fuer Debugzwecke.

Öffentliche Attribute

float m_11
float m_12
float m_13
float m_14
float m_21
float m_22
float m_23
float m_24
float m_31
float m_32
float m_33
float m_34
float m_41
float m_42
float m_43
float m_44

Private Attribute

TArcm_arc


Ausführliche Beschreibung

Matrixklasse.

Beschreibung der Konstruktoren und Destruktoren

Matrix::Matrix (  ) 

Konstruktor.

Matrix::~Matrix (  )  [virtual]

Destruktor.


Dokumentation der Elementfunktionen

void Matrix::clear ( void   ) 

Initialisiert die Matrix.

void Matrix::set ( Vec v1,
Vec v2,
Vec v3 
)

Setter fuer die Matrix.

Parameter:
v1 
v2 
v3 

void Matrix::setInv ( Vec v1,
Vec v2,
Vec v3 
)

Invertiert die Matrix.

Parameter:
v1 
v2 
v3 

void Matrix::rotateX ( int  w  ) 

Bildet die Matrix zu einer Rotation um die X Achse.

Parameter:
w Winkel (in Grad !!!)

void Matrix::rotateY ( int  w  ) 

Bildet die Matrix zu einer Rotation um die Y Achse.

Parameter:
w Winkel (in Grad !!!)

void Matrix::rotateZ ( int  w  ) 

Bildet die Matrix zu einer Rotation um die Z Achse.

Parameter:
w Winkel (in Grad !!!)

void Matrix::rotateXRad ( float  w  ) 

Bildet die Matrix zu einer Rotation um die X Achse.

Parameter:
w Winkel (in Rad !!!)

void Matrix::rotateYRad ( float  w  ) 

Bildet die Matrix zu einer Rotation um die Y Achse.

Parameter:
w Winkel (in Rad !!!)

void Matrix::rotateZRad ( float  w  ) 

Bildet die Matrix zu einer Rotation um die Z Achse.

Parameter:
w Winkel (in Rad !!!)

void Matrix::translate ( Vec v  ) 

Bildet eine Translationsmatrix.

Parameter:
v Vector

void Matrix::scale ( float  s  ) 

Skaliert die Matrix.

Parameter:
s Skalierungswert

void Matrix::dump ( void   ) 

Obligatorische Dump-Methode fuer Debugzwecke.


Dokumentation der Datenelemente

TArc* Matrix::m_arc [private]

float Matrix::m_11

float Matrix::m_12

float Matrix::m_13

float Matrix::m_14

float Matrix::m_21

float Matrix::m_22

float Matrix::m_23

float Matrix::m_24

float Matrix::m_31

float Matrix::m_32

float Matrix::m_33

float Matrix::m_34

float Matrix::m_41

float Matrix::m_42

float Matrix::m_43

float Matrix::m_44


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:

Generated on Sun Nov 1 16:26:43 2009 for engine3d by doxygen 1.5.5