GlobeEngine
VRExampleGLWidget.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_VRExampleGLWidget_h
9 #define GlobeEngine_VRExampleGLWidget_h
10 
11 #include "OpenGL_Includes.h"
12 #include "VRExampleEngine.h"
13 #include "VRExampleInputControl.h"
14 #include "SimpleQTViewerGLWidget.h"
15 
16 namespace geVRExample {
17 
18  class VRExampleUI;
19 
21  Q_OBJECT
22 
23  public:
26 
27  // overrides from SimpleQTViewerGLWidget
28  void initialize();
29  void drawGL();
30  void updateScene();
31  void drawUI();
32  void resize(int width, int height);
33 
35 
36  protected:
37  void keyPressEvent(QKeyEvent *event);
38 
39  };
40 }
41 #endif
~VRExampleGLWidget()
Definition: VRExampleGLWidget.cpp:14
void resize(int width, int height)
Definition: VRExampleGLWidget.cpp:75
void updateScene()
Definition: VRExampleGLWidget.cpp:48
VRExampleEngine * getEngineLayer()
Definition: VRExampleGLWidget.cpp:80
void keyPressEvent(QKeyEvent *event)
Definition: VRExampleGLWidget.cpp:84
Definition: overlaywidget.h:10
void initialize()
Definition: VRExampleGLWidget.cpp:19
Definition: SimpleQTViewerGLWidget.h:24
VRExampleGLWidget(VRExampleEngine *_engine, ge::InputControl *_input)
Definition: VRExampleGLWidget.cpp:9
Definition: VRExampleEngine.h:39
Definition: VRExampleGLWidget.h:20
void drawUI()
Definition: VRExampleGLWidget.cpp:61
Definition: InputControl.h:16
void drawGL()
Definition: VRExampleGLWidget.cpp:53