GlobeEngine
HikingViewerGLWidget.h
Go to the documentation of this file.
1 #ifndef HikingEngine_GLWidget_h
2 #define HikingEngine_GLWidget_h
3 
4 #include "OpenGL_Includes.h"
5 #include "HikingEngine.h"
7 #include "VBOVertex.h"
8 
9 namespace geHikingViewer {
10 
11  class HikingViewerUI;
12 
14  Q_OBJECT
15 
16  signals:
17  void riskLevelUpdate(int);
18  void heightLevelUpdate(int);
19 
20  public:
22 
24 
25  // overrides from SimpleQTViewerGLWidget
26  void initialize();
27  void drawGL();
28  void updateScene();
29  void drawUI();
30  void resize(int width, int height);
31  void keyPressEvent(QKeyEvent *e);
32  void wheelEvent(QWheelEvent* _event);
33  private:
34  ge::Vertex2i winsize;
35 
36  };
37 }
38 #endif
void initialize()
Definition: HikingViewerGLWidget.cpp:14
Definition: HikingComposition.h:14
void drawGL()
Definition: HikingViewerGLWidget.cpp:25
Definition: SimpleQTViewerGLWidget.h:24
void resize(int width, int height)
Definition: HikingViewerGLWidget.cpp:29
Definition: HikingEngine.h:45
HikingEngine * getEngineLayer()
Definition: HikingViewerGLWidget.cpp:34
Definition: HikingViewerGLWidget.h:13
void drawUI()
Definition: HikingViewerGLWidget.cpp:38
void keyPressEvent(QKeyEvent *e)
Definition: HikingViewerGLWidget.cpp:91
HikingViewerGLWidget(HikingEngine *_engine, ge::InputControl *_input)
Definition: HikingViewerGLWidget.cpp:8
Definition: VBOVertex.h:51
void updateScene()
Definition: HikingViewerGLWidget.cpp:21
void wheelEvent(QWheelEvent *_event)
Definition: HikingViewerGLWidget.cpp:101
Definition: InputControl.h:16