Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CMatrix4x4 Class Reference

#include <KX_Matrix4x4.h>

List of all members.

Public Methods

 CMatrix4x4 ()
 CMatrix4x4 (const float value[4][4])
 CMatrix4x4 (const double value[16])
 CMatrix4x4 (const CMatrix4x4 & other)
 CMatrix4x4 (const MT_Point3 & orig,const MT_Vector3 & dir,const MT_Vector3 up)
void Identity ()
void SetMatrix (const CMatrix4x4 & other)
double* getPointer ()
MT_Vector3 GetRight () const
MT_Vector3 GetUp () const
MT_Vector3 GetDir () const
MT_Point3 GetPos () const
double& operator() (int row,int col)
void SetPos (const MT_Vector3 & v)

Static Public Methods

CMatrix4x4 Perspective (MT_Scalar inLeft, MT_Scalar inRight, MT_Scalar inBottom, MT_Scalar inTop, MT_Scalar inNear, MT_Scalar inFar)

Protected Attributes

double m_V [4][4]
double m_Vflat [16]


Constructor & Destructor Documentation

CMatrix4x4::CMatrix4x4 ( ) [inline]
 

Definition at line 13 of file KX_Matrix4x4.h.

CMatrix4x4::CMatrix4x4 ( const float value[4][4] ) [inline]
 

Definition at line 14 of file KX_Matrix4x4.h.

CMatrix4x4::CMatrix4x4 ( const double value[16] ) [inline]
 

Definition at line 20 of file KX_Matrix4x4.h.

CMatrix4x4::CMatrix4x4 ( const CMatrix4x4 & other ) [inline]
 

Definition at line 27 of file KX_Matrix4x4.h.

CMatrix4x4::CMatrix4x4 ( const MT_Point3 & orig,
const MT_Vector3 & dir,
const MT_Vector3 up ) [inline]
 

Definition at line 28 of file KX_Matrix4x4.h.


Member Function Documentation

MT_Vector3 CMatrix4x4::GetDir ( ) const [inline]
 

Definition at line 67 of file KX_Matrix4x4.h.

MT_Point3 CMatrix4x4::GetPos ( ) const [inline]
 

Definition at line 68 of file KX_Matrix4x4.h.

MT_Vector3 CMatrix4x4::GetRight ( ) const [inline]
 

Definition at line 65 of file KX_Matrix4x4.h.

MT_Vector3 CMatrix4x4::GetUp ( ) const [inline]
 

Definition at line 66 of file KX_Matrix4x4.h.

void CMatrix4x4::Identity ( ) [inline]
 

Definition at line 57 of file KX_Matrix4x4.h.

Referenced by CMatrix4x4().

CMatrix4x4 CMatrix4x4::Perspective ( MT_Scalar inLeft,
MT_Scalar inRight,
MT_Scalar inBottom,
MT_Scalar inTop,
MT_Scalar inNear,
MT_Scalar inFar ) [inline, static]
 

Definition at line 74 of file KX_Matrix4x4.h.

void CMatrix4x4::SetMatrix ( const CMatrix4x4 & other ) [inline]
 

Definition at line 58 of file KX_Matrix4x4.h.

Referenced by CMatrix4x4().

void CMatrix4x4::SetPos ( const MT_Vector3 & v ) [inline]
 

Definition at line 72 of file KX_Matrix4x4.h.

double * CMatrix4x4::getPointer ( ) [inline]
 

Definition at line 59 of file KX_Matrix4x4.h.

Referenced by KX_GameObject::GetOpenGLMatrix().

double & CMatrix4x4::operator() ( int row,
int col ) [inline]
 

Definition at line 69 of file KX_Matrix4x4.h.


Member Data Documentation

double CMatrix4x4::m_V[4][4] [protected]
 

Definition at line 110 of file KX_Matrix4x4.h.

double CMatrix4x4::m_Vflat[16] [protected]
 

Definition at line 111 of file KX_Matrix4x4.h.


The documentation for this class was generated from the following file:
Generated at Thu Feb 1 13:03:34 2001 for Ketsji Game Engine by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000