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

CDisplayDraw Class Reference

CDisplayDraw. More...

#include <CDisplayDraw.h>

Inheritance diagram for CDisplayDraw:

CDisplayBuffer CDisplay List of all members.

Public Member Functions

 CDisplayDraw ()
 Default constructor.

 ~CDisplayDraw ()
 Default destructor.

zint Init (zulong width, zulong height)
 Inits the rendering system.

zint RenderDisplay ()
 Renders the display.

zint ResizeDisplay ()
 Actions to be done when the windows is resized.

zint Idle ()
 Idle function.

CMatrix SetProjectionMatrix (zfloat l, zfloat r, zfloat b, zfloat t, zfloat n, zfloat f)
 Sets the projection matrix and the 6 frustum planes.

CMatrix SetProjectionMatrix (zfloat fov, zfloat aspect, zfloat near, zfloat far)
 Sets the projection matrix and the 6 frustum planes.

CMatrix GetProjectionMatrix ()
 returns projection matrix

CFrustum GetFrustum ()
 Returns the frustum.

zint SetKeyboard (CKeyboard keyboard)
 Sets the keyboard object.

CKeyboardGetKeyboard ()
 Gets the keyboard object.


Detailed Description

CDisplayDraw.

display drawing class


Constructor & Destructor Documentation

CDisplayDraw::CDisplayDraw  
 

Default constructor.

CDisplayDraw::~CDisplayDraw  
 

Default destructor.


Member Function Documentation

CFrustum CDisplayDraw::GetFrustum  
 

Returns the frustum.

CKeyboard * CDisplayDraw::GetKeyboard  
 

Gets the keyboard object.

CMatrix CDisplayDraw::GetProjectionMatrix  
 

returns projection matrix

zint CDisplayDraw::Idle  
 

Idle function.

zint CDisplayDraw::Init zulong    width,
zulong    height
 

Inits the rendering system.

zint CDisplayDraw::RenderDisplay  
 

Renders the display.

zint CDisplayDraw::ResizeDisplay  
 

Actions to be done when the windows is resized.

zint CDisplayDraw::SetKeyboard CKeyboard    keyboard
 

Sets the keyboard object.

CMatrix CDisplayDraw::SetProjectionMatrix zfloat    fov,
zfloat    aspect,
zfloat    near,
zfloat    far
 

Sets the projection matrix and the 6 frustum planes.

CMatrix CDisplayDraw::SetProjectionMatrix zfloat    l,
zfloat    r,
zfloat    b,
zfloat    t,
zfloat    n,
zfloat    f
 

Sets the projection matrix and the 6 frustum planes.

l = left, r 0 right, b = bottom, t = top, n = near, f = far


The documentation for this class was generated from the following files:


SourceForge.net Logo