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

CMatrixStack Class Reference

#include <matrix.h>

Inheritance diagram for CMatrixStack::

CDListMatrixStack CImmMatrixStack List of all members.

Public Methods

 CMatrixStack (CGLContext &context)
virtual void Pop ()=0
virtual void Push ()=0
virtual void Concat (const cpu_mat_44 &xform, const cpu_mat_44 &inverse)=0
virtual void SetTop (const cpu_mat_44 &newMat, const cpu_mat_44 &newInv)=0

Protected Attributes

CGLContextGLContext
cpu_mat_44 Matrices [MaxStackDepth]
cpu_mat_44 InverseMatrices [MaxStackDepth]
int CurStackDepth

Static Protected Attributes

const int MaxStackDepth = 16

Constructor & Destructor Documentation

CMatrixStack::CMatrixStack CGLContext   context [inline]
 

Definition at line 30 of file matrix.h.


Member Function Documentation

virtual void CMatrixStack::Concat const cpu_mat_44 &    xform,
const cpu_mat_44 &    inverse
[pure virtual]
 

Reimplemented in CImmMatrixStack, and CDListMatrixStack.

Referenced by glFrustum(), glMultMatrixf(), glOrtho(), glRotatef(), glScalef(), and glTranslatef().

virtual void CMatrixStack::Pop   [pure virtual]
 

Reimplemented in CImmMatrixStack, and CDListMatrixStack.

Referenced by glPopMatrix().

virtual void CMatrixStack::Push   [pure virtual]
 

Reimplemented in CImmMatrixStack, and CDListMatrixStack.

Referenced by glPushMatrix().

virtual void CMatrixStack::SetTop const cpu_mat_44 &    newMat,
const cpu_mat_44 &    newInv
[pure virtual]
 

Reimplemented in CImmMatrixStack, and CDListMatrixStack.

Referenced by glLoadIdentity(), and glLoadMatrixf().


Member Data Documentation

int CMatrixStack::CurStackDepth [protected]
 

Definition at line 27 of file matrix.h.

CGLContext& CMatrixStack::GLContext [protected]
 

Definition at line 24 of file matrix.h.

cpu_mat_44 CMatrixStack::InverseMatrices[MaxStackDepth] [protected]
 

Definition at line 26 of file matrix.h.

cpu_mat_44 CMatrixStack::Matrices[MaxStackDepth] [protected]
 

Definition at line 26 of file matrix.h.

const int CMatrixStack::MaxStackDepth = 16 [static, protected]
 

Definition at line 25 of file matrix.h.


The documentation for this class was generated from the following file:
ps2gl version cvs