GlobeEngine
geHikingViewer::HikingViewerGLWidget Class Reference

#include <HikingViewerGLWidget.h>

Inheritance diagram for geHikingViewer::HikingViewerGLWidget:
geQT::SimpleQTViewerGLWidget

Signals

void riskLevelUpdate (int)
 
void heightLevelUpdate (int)
 
- Signals inherited from geQT::SimpleQTViewerGLWidget
void objectSelectionEvent ()
 

Public Member Functions

 HikingViewerGLWidget (HikingEngine *_engine, ge::InputControl *_input)
 
HikingEnginegetEngineLayer ()
 
void initialize ()
 
void drawGL ()
 
void updateScene ()
 
void drawUI ()
 
void resize (int width, int height)
 
void keyPressEvent (QKeyEvent *e)
 
void wheelEvent (QWheelEvent *_event)
 
- 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)
 

Additional Inherited Members

- Static Public Member Functions inherited from geQT::SimpleQTViewerGLWidget
static void setDefaultSurfaceFormatForConfiguration (int _numberOfSamples=4, int _depthBufferSize=24, int _stencilBufferSize=8, int _alphaChannelSize=0)
 
- 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 mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
void paintUI ()
 
- 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

geHikingViewer::HikingViewerGLWidget::HikingViewerGLWidget ( HikingEngine _engine,
ge::InputControl _input 
)

Member Function Documentation

void geHikingViewer::HikingViewerGLWidget::drawGL ( )
virtual
void geHikingViewer::HikingViewerGLWidget::drawUI ( )
virtual
HikingEngine * geHikingViewer::HikingViewerGLWidget::getEngineLayer ( )
void geHikingViewer::HikingViewerGLWidget::heightLevelUpdate ( int  )
signal
void geHikingViewer::HikingViewerGLWidget::initialize ( )
virtual
void geHikingViewer::HikingViewerGLWidget::keyPressEvent ( QKeyEvent *  e)
virtual

Reimplemented from geQT::SimpleQTViewerGLWidget.

void geHikingViewer::HikingViewerGLWidget::resize ( int  width,
int  height 
)
virtual
void geHikingViewer::HikingViewerGLWidget::riskLevelUpdate ( int  )
signal
void geHikingViewer::HikingViewerGLWidget::updateScene ( )
virtual
void geHikingViewer::HikingViewerGLWidget::wheelEvent ( QWheelEvent *  _event)
virtual

Reimplemented from geQT::SimpleQTViewerGLWidget.


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