INFO804 Introduction à l'informatique graphique
Loading...
Searching...
No Matches
Viewer.h
Go to the documentation of this file.
1/// \file Viewer.h
2#include <vector>
3#include <QGLViewer/qglviewer.h>
4
5class Viewer : public QGLViewer
6{
7 public:
8 Viewer() : QGLViewer() {}
9
10 protected :
11 /// Called at each draw of the window
12 virtual void draw();
13 /// Called before the first draw
14 virtual void init();
15 /// Called when pressing help.
16 virtual QString helpString() const;
17};
Definition Viewer.h:6
virtual void init()
Called before the first draw.
Definition Viewer.cpp:36
virtual void draw()
Called at each draw of the window.
Definition Viewer.cpp:7
virtual QString helpString() const
Called when pressing help.
Definition Viewer.cpp:45