Public Methods |
| | RenderGL () |
| | RenderGL (string filepath) |
| | RenderGL (Scene *s, string filepath) |
| virtual | ~RenderGL () |
| virtual void | Reset () |
| | Reset the renderer. More...
|
| virtual void | Init () |
| | Initialized the renderer. More...
|
| virtual void | MainLoop (Gui *g) |
| | If ControlFreak = true, then MainLoop is entered here. More...
|
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) |
Public Attributes |
| Gui * | G |
Protected Methods |
| void | LoadConfig () |
| void | AddBodyObject (mslGLObject *obj) |
| void | AddEnvObject (mslGLObject *obj) |
| mslGLObject * | WhichObject (int id) |
| void | SceneRender () |
| void | SetLightPos () |
| void | SetSceneOrientationChange (const MSLVector &oric) |
| void | SetScenePositionChange (const MSLVector &posc) |
| void | SetBodyState (const MSLVector &state) |
| void | SetEnvState (const MSLVector &state) |
| void | DrawBoundingBox () |
| void | DrawPath () |
| | Display an entire path (the specific renderer determines how). More...
|
| void | InitData () |
| void | InitGeometry (list< MSLTriangle > triangles) |
| void | DrawBodies (const MSLVector &x) |
| void | DrawEnv () |
| void | NormCrossProduct (float v1[3], float v2[3], float out[3]) |
| void | Normalize (float v[3]) |
| void | ShowCoordinateFrame () |
Protected Attributes |
| vector< int > | EnvIndex |
| vector< 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 |
| MSLVector | VCoordZ |
| MSLVector | VCoordY |
| MSLVector | VCoordX |
| MSLVector | VRpy |
| MSLVector | DefVCoordZ |
| MSLVector | DefVCoordY |
| MSLVector | DefVCoordX |
| MSLVector | DefVRpy |
| MSLVector | RpyModification |
| MSLVector | SCoordZ |
| MSLVector | SCoordY |
| MSLVector | SCoordX |
| float | LightPosX |
| float | LightPosY |
| float | LightPosZ |
| int | NumberOfObject |
| int | NumberOfBody |
| int | NumberOfEnvObj |
| mslGLObject ** | SceneBodyLib |
| mslGLObject ** | SceneEnvObjLib |
| MSLVector | EnvTransform |
| MSLVector | BodyTransform |
| int | MainWindow |
| int | SelectObjectID |
| int | CurrentObject |
| int | CurrentMouseButton |
| int | CurrentMouseState |
| int | CurrentKeyboard |
| float | LastX |
| float | LastY |
| float | ChangeRate |
| float | AnimationTimeScaleTmp |