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

DRAWMGR Class Reference

#include <DrawMgr.H>

List of all members.

Static Public Methods

void registerObj (DrawObj *o)
void register2DObj (DrawObj *o)
void removeObj (DrawObj *o, bool display=true)
int numObjects ()
DrawObjgetObject (const int num)
void drawObject (DrawObj *const d)
void contextInit ()
void draw (int pass=0)
void frameDone ()
double elapsedTime ()
double timeSinceLastFrame ()
long frameCount ()
void offsetTime (const double offset)
ScreenGrabscreenGrab ()
void drawPaperBackground ()
float paperXOffset ()
float paperYOffset ()
void setPaperXOffset (float o)
void setPaperYOffset (float o)
float paperRepeat ()
void setPaperRepeat (float r)

Static Protected Methods

GLenum getLight (const int i)

Static Protected Attributes

ARRAY< DrawObj * > _objects
ARRAY< DrawObj * > _2dObjects
double _startTime = the_time()
double _lastFrameTime = the_time()
long _frameCount = 0
ScreenGrab_screenGrab = NULL
ScreenGrabInt_screenGrabInt = NULL
int _useDLs = 1
Texture_paperTexture = NULL
float _paperRepeat = 1.0
float _paperXOffset = 0.0
float _paperYOffset = 0.0
int _paperPass = 0


Member Function Documentation

void DRAWMGR::contextInit   [static]
 

void DRAWMGR::draw int    pass = 0 [static]
 

void DRAWMGR::drawObject DrawObj *const    d [static]
 

void DRAWMGR::drawPaperBackground   [static]
 

double DRAWMGR::elapsedTime   [static]
 

long DRAWMGR::frameCount   [inline, static]
 

void DRAWMGR::frameDone   [static]
 

GLenum DRAWMGR::getLight const int    i [static, protected]
 

DrawObj* DRAWMGR::getObject const int    num [inline, static]
 

int DRAWMGR::numObjects   [inline, static]
 

void DRAWMGR::offsetTime const double    offset [inline, static]
 

float DRAWMGR::paperRepeat   [inline, static]
 

float DRAWMGR::paperXOffset   [inline, static]
 

float DRAWMGR::paperYOffset   [inline, static]
 

void DRAWMGR::register2DObj DrawObj   o [static]
 

void DRAWMGR::registerObj DrawObj   o [static]
 

void DRAWMGR::removeObj DrawObj   o,
bool    display = true
[static]
 

ScreenGrab* DRAWMGR::screenGrab   [inline, static]
 

void DRAWMGR::setPaperRepeat float    r [inline, static]
 

void DRAWMGR::setPaperXOffset float    o [inline, static]
 

void DRAWMGR::setPaperYOffset float    o [inline, static]
 

double DRAWMGR::timeSinceLastFrame   [static]
 


Member Data Documentation

ARRAY< DrawObj * > DRAWMGR::_2dObjects [static, protected]
 

long DRAWMGR::_frameCount = 0 [static, protected]
 

double DRAWMGR::_lastFrameTime = the_time() [static, protected]
 

ARRAY< DrawObj * > DRAWMGR::_objects [static, protected]
 

int DRAWMGR::_paperPass = 0 [static, protected]
 

rendering pass that the paper background gets drawn in can set to -1 and then call drawPaperBackground on your own if you want complete control of when to draw it.

float DRAWMGR::_paperRepeat = 1.0 [static, protected]
 

Texture * DRAWMGR::_paperTexture = NULL [static, protected]
 

float DRAWMGR::_paperXOffset = 0.0 [static, protected]
 

float DRAWMGR::_paperYOffset = 0.0 [static, protected]
 

ScreenGrab * DRAWMGR::_screenGrab = NULL [static, protected]
 

ScreenGrabInt * DRAWMGR::_screenGrabInt = NULL [static, protected]
 

double DRAWMGR::_startTime = the_time() [static, protected]
 

int DRAWMGR::_useDLs = 1 [static, protected]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 15 16:27:57 2003 for inspace by doxygen1.2.18