GlobeEngine
geExoViewer::ExoViewerGLWidget Class Reference

#include <ExoViewerGLWidget.h>

Inheritance diagram for geExoViewer::ExoViewerGLWidget:
geQT::SimpleQTViewerGLWidget

Signals

void updateInfoWidget ()
 
void updateDate ()
 
void updateComparisonRanges ()
 
- Signals inherited from geQT::SimpleQTViewerGLWidget
void objectSelectionEvent ()
 

Public Member Functions

 ExoViewerGLWidget (std::string _path, geAstro::ExoEngine *_engine, ExoViewerInputControl *_input)
 
 ~ExoViewerGLWidget ()
 
void initialize ()
 
void drawGL ()
 
void updateScene ()
 
void drawUI ()
 
void resize (int width, int height)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseDoubleClickEvent (QMouseEvent *event)
 
void updateLabelBounds ()
 
void toggleNames (bool _suns, bool _planets, bool _moons, bool _smallbodies, bool _systems, bool _selected, bool _comparisonAxis, bool _comparisonPlanets, bool _comparisonMarked)
 
void setLabelSizes (int _suns, int _planets, int _moons, int _smallbodies, int _systems)
 
void setLabelColors (QColor _suns, QColor _planets, QColor _moons, QColor _smallbodies, QColor _systems, QColor _selected)
 
geAstro::ExoEnginegetEngineLayer ()
 
std::vector< boolgetNamesVisiblility ()
 
std::vector< intgetNamesSizes ()
 
std::vector< QColor > getNamesColors ()
 
- 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)
 

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 wheelEvent (QWheelEvent *event)
 
virtual void mouseReleaseEvent (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

geExoViewer::ExoViewerGLWidget::ExoViewerGLWidget ( std::string  _path,
geAstro::ExoEngine _engine,
ExoViewerInputControl _input 
)
geExoViewer::ExoViewerGLWidget::~ExoViewerGLWidget ( )

Member Function Documentation

void geExoViewer::ExoViewerGLWidget::drawGL ( )
virtual
void geExoViewer::ExoViewerGLWidget::drawUI ( )
virtual
geAstro::ExoEngine * geExoViewer::ExoViewerGLWidget::getEngineLayer ( )
std::vector< QColor > geExoViewer::ExoViewerGLWidget::getNamesColors ( )
std::vector< int > geExoViewer::ExoViewerGLWidget::getNamesSizes ( )
std::vector< bool > geExoViewer::ExoViewerGLWidget::getNamesVisiblility ( )
void geExoViewer::ExoViewerGLWidget::initialize ( )
virtual
void geExoViewer::ExoViewerGLWidget::mouseDoubleClickEvent ( QMouseEvent *  event)
virtual

Reimplemented from geQT::SimpleQTViewerGLWidget.

void geExoViewer::ExoViewerGLWidget::mousePressEvent ( QMouseEvent *  event)
virtual

Reimplemented from geQT::SimpleQTViewerGLWidget.

void geExoViewer::ExoViewerGLWidget::resize ( int  width,
int  height 
)
virtual
void geExoViewer::ExoViewerGLWidget::setLabelColors ( QColor  _suns,
QColor  _planets,
QColor  _moons,
QColor  _smallbodies,
QColor  _systems,
QColor  _selected 
)
void geExoViewer::ExoViewerGLWidget::setLabelSizes ( int  _suns,
int  _planets,
int  _moons,
int  _smallbodies,
int  _systems 
)
void geExoViewer::ExoViewerGLWidget::toggleNames ( bool  _suns,
bool  _planets,
bool  _moons,
bool  _smallbodies,
bool  _systems,
bool  _selected,
bool  _comparisonAxis,
bool  _comparisonPlanets,
bool  _comparisonMarked 
)
void geExoViewer::ExoViewerGLWidget::updateComparisonRanges ( )
signal
void geExoViewer::ExoViewerGLWidget::updateDate ( )
signal
void geExoViewer::ExoViewerGLWidget::updateInfoWidget ( )
signal
void geExoViewer::ExoViewerGLWidget::updateLabelBounds ( )
void geExoViewer::ExoViewerGLWidget::updateScene ( )
virtual

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