11#include <QGLViewer/qglviewer.h>
40 drawLight( light, zoom );
virtual void keyPressEvent(QKeyEvent *e)
Celled when pressing a key.
virtual void init()
Called before the first draw.
Viewer()
Default constructor. Scene is empty.
void drawSomeLight(GLenum light, float zoom) const
To call the protected method drawLight.
void drawSomeLight(GLenum light) const
To call the protected method drawLight.
virtual void draw()
Called at each draw of the window.
int maxDepth
Maximum depth.
virtual QString helpString() const
Called when pressing help.
void setScene(rt::Scene &aScene)
Sets the scene.
rt::Scene * ptrScene
Stores the scene.