Public Methods |
| RenderGL () |
| RenderGL (string filepath) |
| RenderGL (Scene *s, string filepath) |
virtual | ~RenderGL () |
virtual void | Reset () |
| Reset the renderer.
|
virtual void | Init () |
| Initialized the renderer.
|
virtual void | MainLoop (Gui *g) |
| If ControlFreak = true, then MainLoop is entered here.
|
Public Attributes |
Gui* | G |
Static Public Methods |
void | GlutIdleProcessing () |
void | GlutDrawEnvironment () |
void | GlutReshape (int w, int h) |
void | GlutMouse (int button, int state, int x, int y) |
void | GlutMouseMove ( int x, int y ) |
void | GlutKeyboard (unsigned char Key, int x, int y) |
Protected Methods |
void | LoadConfig () |
void | AddBodyObject (mslGLObject * obj) |
void | AddEnvObject (mslGLObject * obj) |
mslGLObject* | WhichObject (int id) |
void | SceneRender () |
void | SetLightPos () |
void | SetSceneOrientationChange (const vector& oric) |
void | SetScenePositionChange (const vector& posc) |
void | SetBodyState (const vector& state) |
void | SetEnvState (const vector& state) |
void | DrawBoundingBox () |
void | DrawPath () |
| Display an entire path (the specific renderer determines how).
|
void | InitData () |
void | InitGeometry (list<Triangle> triangles) |
void | DrawBodies (const vector &x) |
void | DrawEnv () |
void | NormCrossProduct (float v1[3], float v2[3], float out[3]) |
void | Normalize (float v[3]) |
void | ShowCoordinateFrame () |
Protected Attributes |
array<int> | EnvIndex |
array<int> | BodyIndex |
float | WindowX |
float | WindowY |
float | WindowZ |
float | BoundingBoxMin [3] |
float | BoundingBoxMax [3] |
float | Orientation [3] |
float | Position [3] |
float | Fov |
float | AspectRatio |
float | Near |
float | Far |
float | EyeX |
float | EyeY |
float | EyeZ |
float | VpX |
float | VpY |
float | VpZ |
float | VupX |
float | VupY |
float | VupZ |
float | ViewLength |
vector | VCoordZ |
vector | VCoordY |
vector | VCoordX |
vector | VRpy |
vector | DefVCoordZ |
vector | DefVCoordY |
vector | DefVCoordX |
vector | DefVRpy |
vector | RpyModification |
vector | SCoordZ |
vector | SCoordY |
vector | SCoordX |
float | LightPosX |
float | LightPosY |
float | LightPosZ |
int | NumberOfObject |
int | NumberOfBody |
int | NumberOfEnvObj |
mslGLObject** | SceneBodyLib |
mslGLObject** | SceneEnvObjLib |
vector | EnvTransform |
vector | BodyTransform |
int | MainWindow |
int | SelectObjectID |
int | CurrentObject |
int | CurrentMouseButton |
int | CurrentMouseState |
int | CurrentKeyboard |
float | LastX |
float | LastY |
float | ChangeRate |
float | AnimationTimeScaleTmp |