GlobeEngine
Main Page
Namespaces
Classes
Files
File List
File Members
VRViewerGLWidget.h
Go to the documentation of this file.
1
#ifndef GlobeEngineVRViewerGLWidget_h
2
#define GlobeEngineVRViewerGLWidget_h
3
4
#include "OpenGL_Includes.h"
5
#include "
SimpleQTViewerGLWidget.h
"
6
7
namespace
geQT
{
8
class
VRViewerGLWidget
:
public
SimpleQTViewerGLWidget
{
9
10
Q_OBJECT
11
12
public
:
13
VRViewerGLWidget
(
ge::Engine
* _engine,
ge::InputControl
* _input);
14
~VRViewerGLWidget
();
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
geQT::VRViewerGLWidget
Definition:
VRViewerGLWidget.h:8
geQT::VRViewerGLWidget::~VRViewerGLWidget
~VRViewerGLWidget()
Definition:
VRViewerGLWidget.cpp:18
geQT::VRViewerGLWidget::VRViewerGLWidget
VRViewerGLWidget(ge::Engine *_engine, ge::InputControl *_input)
Definition:
VRViewerGLWidget.cpp:10
geQT::SimpleQTViewerGLWidget
Definition:
SimpleQTViewerGLWidget.h:24
SimpleQTViewerGLWidget.h
ge::Engine
Definition:
Engine.h:20
geQT
Definition:
ClickableQLabel.h:8
ge::InputControl
Definition:
InputControl.h:16
src
globeEngineQT
include
VRViewerGLWidget.h
Generated on Wed Aug 9 2017 14:47:06 for GlobeEngine by
1.8.9