#include <Scene.h>
Public Methods | |
| Scene () | |
| Constructor. | |
| GLvoid | addModel (Model *m) |
| Add a Model to the Scene. | |
| GLvoid | removeModel (Model *m) |
| Remove a Model in the Scene. This occurs when we removed all the vertices during the decimation process. | |
| Model * | m (GLint m) |
| Get the mth Model in the Scene. | |
| GLint | numModels () |
| Get the number of Models in the Scene. | |
| GLvoid | addLight (Light *l) |
| Add a Light to the Scene. | |
| Light * | l (GLint l) |
| Get the lth Light in the Scene. | |
| GLint | numLights () |
| Get the number of Lights in the Scene. | |
| Point | getCenter () |
| Get the center Point of the Scene. | |
| GLfloat | getBackUp () |
| Get the distace to back up the camera for display (as calculated in analyzeScene). | |
| GLfloat | getRotStep () |
| Get the angle to rotate through for display (as calculated in analyzeScene). | |
| GLfloat | getTransStep () |
| Get the distance to translate through for display (as calculated in analyzeScene). | |
| GLfloat | getFrustrumDepth () |
| Get the depth of the frustum for display (as calculated in analyzeScene). | |
| GLfloat | getNormalLength () |
| Get the length of the Normals for display (as calculated in analyzeScene). | |
| GLint | getCount () |
| Get the number of Models in the Scene. | |
| GLvoid | analyzeScene () |
| Center the Scene in the Viewport and set the Normal lengths for display. | |
| bool | isFullyFunctional () |
| Are we ready to render? | |
| std::string | toString () |
| Get information for the Scene in string form. | |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001