Declares the functions necessary for setting up the GLUT library.
More...
#include <vector>#include <GL/glew.h>#include <GL/glut.h>

Go to the source code of this file.
Functions | |
| void | drawGLScene () |
| Display callback for the window. More... | |
| void | idleGLScene () |
| Idle callback for the window. More... | |
| void | resizeGLScene (int width, int height) |
| Reshape callback for the window. More... | |
| std::string | setFilename (const char *type) |
| Creates a filename with a timestamp suffix. More... | |
| void | keyPressed (unsigned char key, int x, int y) |
| Keyboard callback for the window. More... | |
| void | arrowPressed (int key, int x, int y) |
| Arrow key callback for the window. More... | |
| void | mouseMoved (int x, int y) |
| Mouse callback for the window. More... | |
| void | mouseButtonPressed (int button, int state, int x, int y) |
| Mouse button callback for the window. More... | |
| void | initGL (int argc, char **argv) |
| Initializes GLUT. More... | |
Declares the functions necessary for setting up the GLUT library.
| void arrowPressed | ( | int | key, |
| int | x, | ||
| int | y | ||
| ) |
Arrow key callback for the window.
| void drawGLScene | ( | ) |
Display callback for the window.
| void idleGLScene | ( | ) |
Idle callback for the window.
| void initGL | ( | int | argc, |
| char ** | argv | ||
| ) |
Initializes GLUT.
| void keyPressed | ( | unsigned char | key, |
| int | x, | ||
| int | y | ||
| ) |
Keyboard callback for the window.
| void mouseButtonPressed | ( | int | button, |
| int | state, | ||
| int | x, | ||
| int | y | ||
| ) |
Mouse button callback for the window.
| void mouseMoved | ( | int | x, |
| int | y | ||
| ) |
Mouse callback for the window.
| void resizeGLScene | ( | int | width, |
| int | height | ||
| ) |
Reshape callback for the window.
| std::string setFilename | ( | const char * | type | ) |
Creates a filename with a timestamp suffix.
The timestamp has the following format YYYYMMDDHHMMSS.
| [in] | type | file type. |
1.8.9.1