doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
idGLDrawableModel Class Reference

#include <GLWidget.h>

Inheritance diagram for idGLDrawableModel:
idGLDrawableWorld idGLDrawable

Public Member Functions

 idGLDrawableModel (const char *name)
 
 idGLDrawableModel ()
 
 ~idGLDrawableModel ()
 
virtual void setMedia (const char *name)
 
virtual void buttonDown (int button, float x, float y)
 
virtual void mouseMove (float x, float y)
 
virtual void draw (int x, int y, int w, int h)
 
virtual void Update ()
 
virtual bool ScreenCoords ()
 
void SetSkin (const char *skin)
 
- Public Member Functions inherited from idGLDrawableWorld
 idGLDrawableWorld ()
 
 ~idGLDrawableWorld ()
 
void AddTris (srfTriangles_t *tris, const idMaterial *mat)
 
void InitWorld ()
 
- Public Member Functions inherited from idGLDrawable
 idGLDrawable ()
 
 ~idGLDrawable ()
 
virtual void buttonUp (int button, float x, float y)
 
virtual int getRealTime ()
 
void SetRealTime (int i)
 
float getScale ()
 
void setScale (float f)
 

Protected Attributes

bool worldDirty
 
float light
 
idStr skinStr
 
idQuat rotation
 
idVec3 lastPress
 
float radius
 
idVec4 rect
 
- Protected Attributes inherited from idGLDrawableWorld
idRenderWorldworld
 
idRenderModelworldModel
 
qhandle_t worldModelDef
 
qhandle_t lightDef
 
qhandle_t modelDef
 
- Protected Attributes inherited from idGLDrawable
float scale
 
float xOffset
 
float yOffset
 
float zOffset
 
float pressX
 
float pressY
 
bool handleMove
 
int button
 
int realTime
 

Detailed Description

Definition at line 121 of file GLWidget.h.

Constructor & Destructor Documentation

idGLDrawableModel::idGLDrawableModel ( const char *  name)

Definition at line 506 of file GLWidget.cpp.

idGLDrawableModel::idGLDrawableModel ( )

Definition at line 512 of file GLWidget.cpp.

idGLDrawableModel::~idGLDrawableModel ( )
inline

Definition at line 128 of file GLWidget.h.

Member Function Documentation

void idGLDrawableModel::buttonDown ( int  button,
float  x,
float  y 
)
virtual

Reimplemented from idGLDrawable.

Definition at line 533 of file GLWidget.cpp.

void idGLDrawableModel::draw ( int  x,
int  y,
int  w,
int  h 
)
virtual

Reimplemented from idGLDrawableWorld.

Definition at line 622 of file GLWidget.cpp.

void idGLDrawableModel::mouseMove ( float  x,
float  y 
)
virtual

Reimplemented from idGLDrawable.

Definition at line 546 of file GLWidget.cpp.

virtual bool idGLDrawableModel::ScreenCoords ( )
inlinevirtual

Reimplemented from idGLDrawable.

Definition at line 136 of file GLWidget.h.

void idGLDrawableModel::setMedia ( const char *  name)
virtual

Reimplemented from idGLDrawable.

Definition at line 517 of file GLWidget.cpp.

void idGLDrawableModel::SetSkin ( const char *  skin)

Definition at line 528 of file GLWidget.cpp.

virtual void idGLDrawableModel::Update ( void  )
inlinevirtual

Reimplemented from idGLDrawable.

Definition at line 135 of file GLWidget.h.

Member Data Documentation

idVec3 idGLDrawableModel::lastPress
protected

Definition at line 146 of file GLWidget.h.

float idGLDrawableModel::light
protected

Definition at line 143 of file GLWidget.h.

float idGLDrawableModel::radius
protected

Definition at line 147 of file GLWidget.h.

idVec4 idGLDrawableModel::rect
protected

Definition at line 148 of file GLWidget.h.

idQuat idGLDrawableModel::rotation
protected

Definition at line 145 of file GLWidget.h.

idStr idGLDrawableModel::skinStr
protected

Definition at line 144 of file GLWidget.h.

bool idGLDrawableModel::worldDirty
protected

Definition at line 142 of file GLWidget.h.


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