GlobeEngine
geVRExample::VRExampleGLWidget Class Reference

#include <VRExampleGLWidget.h>

Inheritance diagram for geVRExample::VRExampleGLWidget:
geQT::SimpleQTViewerGLWidget

Public Member Functions

 VRExampleGLWidget (VRExampleEngine *_engine, ge::InputControl *_input)
 
 ~VRExampleGLWidget ()
 
void initialize ()
 
void drawGL ()
 
void updateScene ()
 
void drawUI ()
 
void resize (int width, int height)
 
VRExampleEnginegetEngineLayer ()
 
- Public Member Functions inherited from geQT::SimpleQTViewerGLWidget
 SimpleQTViewerGLWidget (ge::Engine *_engine, ge::InputControl *_input)
 
 ~SimpleQTViewerGLWidget ()
 
QSize minimumSizeHint () const
 
QSize sizeHint () const
 
void setParentPosition (int _x, int _y)
 
void enableUIPainting (bool _in=true)
 
void disableUIPainting ()
 
void drawText (vmml::Vector2d _pt, std::string _string, QFont _font)
 
bool checkIfOpenGLContextActive ()
 
bool restoreEngineOpenGLContext ()
 
virtual void keyReleaseEvent (QKeyEvent *e)
 

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
 
- Protected Member Functions inherited from geQT::SimpleQTViewerGLWidget
void initializeGL ()
 
void paintGL ()
 
void resizeGL (int width, int height)
 
virtual void leaveEvent (QEvent *event)
 
virtual void enterEvent (QEvent *event)
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
void paintUI ()
 

Additional Inherited Members

- Signals inherited from geQT::SimpleQTViewerGLWidget
void objectSelectionEvent ()
 
- Static Public Member Functions inherited from geQT::SimpleQTViewerGLWidget
static void setDefaultSurfaceFormatForConfiguration (int _numberOfSamples=4, int _depthBufferSize=24, int _stencilBufferSize=8, int _alphaChannelSize=0)
 
- Protected Attributes inherited from geQT::SimpleQTViewerGLWidget
bool mouseInWidget
 
int posParentX
 
int posParentY
 
QPainter * p
 
QTimer * updateTimer
 
ge::InputControlinputcontrol
 
ge::Engineengine
 
bool paintUIEnabled
 

Constructor & Destructor Documentation

geVRExample::VRExampleGLWidget::VRExampleGLWidget ( VRExampleEngine _engine,
ge::InputControl _input 
)
geVRExample::VRExampleGLWidget::~VRExampleGLWidget ( )

Member Function Documentation

void geVRExample::VRExampleGLWidget::drawGL ( )
virtual
void geVRExample::VRExampleGLWidget::drawUI ( )
virtual
VRExampleEngine * geVRExample::VRExampleGLWidget::getEngineLayer ( )
void geVRExample::VRExampleGLWidget::initialize ( )
virtual
void geVRExample::VRExampleGLWidget::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Reimplemented from geQT::SimpleQTViewerGLWidget.

void geVRExample::VRExampleGLWidget::resize ( int  width,
int  height 
)
virtual
void geVRExample::VRExampleGLWidget::updateScene ( )
virtual

The documentation for this class was generated from the following files: