GlobeEngine
VRViewerGLWidget.h
Go to the documentation of this file.
1 #ifndef GlobeEngineVRViewerGLWidget_h
2 #define GlobeEngineVRViewerGLWidget_h
3 
4 #include "OpenGL_Includes.h"
6 
7 namespace geQT {
9 
10  Q_OBJECT
11 
12 public:
13  VRViewerGLWidget(ge::Engine* _engine, ge::InputControl* _input);
15 
16 /*public:
17  // necessary overrides for new widget class
18  virtual void initialize() = 0;
19  virtual void drawScene() = 0;
20  virtual void updateScene() = 0;
21  virtual void drawUI() = 0;
22  virtual void resize(int _width, int _height) = 0;
23 
24  // overrides from QT to handle input events of QTWindow
25  virtual void keyPressEvent(QKeyEvent *e);
26  virtual void keyReleaseEvent(QKeyEvent *e);
27 
28 protected:
29  // overrides from QT to handle graphic events of QT
30  void initializeGL();
31  void paintGL();
32  void resizeGL(int width, int height);
33 
34  // overrides from QT to handle input events of QTWidget
35  virtual void leaveEvent(QEvent * event);
36  virtual void enterEvent(QEvent * event);
37  virtual void wheelEvent(QWheelEvent* event);
38  virtual void mousePressEvent(QMouseEvent *event);
39  virtual void mouseReleaseEvent(QMouseEvent *event);
40  virtual void mouseDoubleClickEvent(QMouseEvent * event);
41  virtual void mouseMoveEvent(QMouseEvent *event);*/
42 
43  };
44 }
45 #endif
Definition: VRViewerGLWidget.h:8
~VRViewerGLWidget()
Definition: VRViewerGLWidget.cpp:18
VRViewerGLWidget(ge::Engine *_engine, ge::InputControl *_input)
Definition: VRViewerGLWidget.cpp:10
Definition: SimpleQTViewerGLWidget.h:24
Definition: Engine.h:20
Definition: ClickableQLabel.h:8
Definition: InputControl.h:16