GlobeEngine
geViewer::GlobeEngineGLWidget Class Reference

#include <GlobeEngineGLWidget.h>

Inheritance diagram for geViewer::GlobeEngineGLWidget:
geQT::SimpleQTViewerGLWidget

Public Member Functions

 GlobeEngineGLWidget (const std::shared_ptr< geGIS::SceneBlueprint > &_scene, geGIS::GlobeEngine *_engine, ge::InputControl *_input)
 
std::shared_ptr< geGIS::ModelLayergetModelLayer ()
 
geGIS::GlobeEnginegetEngineLayer ()
 
const std::shared_ptr< geGIS::SceneBlueprintgetSceneBlueprint () const
 
vmml::Vector2d getEngineWindowSize ()
 
void enableNamesRendering (bool _in=true)
 
void disableNamesRendering ()
 
void enableNamesCulling (bool _in=true)
 
void disableNamesCulling ()
 
bool isGraphicsSystemInitialized ()
 
void enableTerrainNumeration (bool _in=true)
 
void addModelToModelLayer (enum geGIS::ModelLayerCategories::MODELTYPE _type, std::shared_ptr< geGIS::FeatureBlueprint > _blueprint)
 
void requestQuery ()
 
void triangulateObject (geGIS::ModelLayerSelection _selection)
 
- 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 keyPressEvent (QKeyEvent *e)
 
virtual void keyReleaseEvent (QKeyEvent *e)
 

Protected Member Functions

void drawNamesOnUI ()
 
void drawQuadtreeNamesOnUI ()
 
void initialize ()
 
void drawGL ()
 
void updateScene ()
 
void drawUI ()
 
void resize (int width, int height)
 
- 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

geViewer::GlobeEngineGLWidget::GlobeEngineGLWidget ( const std::shared_ptr< geGIS::SceneBlueprint > &  _scene,
geGIS::GlobeEngine _engine,
ge::InputControl _input 
)

Member Function Documentation

void geViewer::GlobeEngineGLWidget::addModelToModelLayer ( geGIS::ModelLayerCategories::MODELTYPE  _type,
std::shared_ptr< geGIS::FeatureBlueprint _blueprint 
)
void geViewer::GlobeEngineGLWidget::disableNamesCulling ( )
void geViewer::GlobeEngineGLWidget::disableNamesRendering ( )
void geViewer::GlobeEngineGLWidget::drawGL ( )
protectedvirtual
void geViewer::GlobeEngineGLWidget::drawNamesOnUI ( )
protected
void geViewer::GlobeEngineGLWidget::drawQuadtreeNamesOnUI ( )
protected
void geViewer::GlobeEngineGLWidget::drawUI ( )
protectedvirtual
void geViewer::GlobeEngineGLWidget::enableNamesCulling ( bool  _in = true)
void geViewer::GlobeEngineGLWidget::enableNamesRendering ( bool  _in = true)
void geViewer::GlobeEngineGLWidget::enableTerrainNumeration ( bool  _in = true)
geGIS::GlobeEngine * geViewer::GlobeEngineGLWidget::getEngineLayer ( )
vmml::Vector2d geViewer::GlobeEngineGLWidget::getEngineWindowSize ( )
std::shared_ptr< geGIS::ModelLayer > geViewer::GlobeEngineGLWidget::getModelLayer ( )
const std::shared_ptr< geGIS::SceneBlueprint > geViewer::GlobeEngineGLWidget::getSceneBlueprint ( ) const
void geViewer::GlobeEngineGLWidget::initialize ( )
protectedvirtual
bool geViewer::GlobeEngineGLWidget::isGraphicsSystemInitialized ( )
void geViewer::GlobeEngineGLWidget::requestQuery ( )
void geViewer::GlobeEngineGLWidget::resize ( int  width,
int  height 
)
protectedvirtual
void geViewer::GlobeEngineGLWidget::triangulateObject ( geGIS::ModelLayerSelection  _selection)
void geViewer::GlobeEngineGLWidget::updateScene ( )
protectedvirtual

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