GlobeEngine
at::AtmosphereViewerControlWidget Class Reference

#include <AtmosphereViewerControlWidget.h>

Inheritance diagram for at::AtmosphereViewerControlWidget:
geQT::SimpleQTViewerGLWidget

Public Member Functions

 AtmosphereViewerControlWidget (AtmosphereEngine *_engine, ge::InputControl *_input)
 
 ~AtmosphereViewerControlWidget ()
 
void initialize ()
 
void drawGL ()
 
void updateScene ()
 
void drawUI ()
 
void resize (int width, int height)
 
void passTristate (int s1_, int s2_, int s3_)
 
bool setSpectrum (int lowRed_, int highRed_, int lowGreen_, int highGreen_, int lowBlue_, int highBlue_)
 
bool addLayer (int innerRadius_, int outerRadius_, double density_, bool earthDensity_)
 
double getRadius ()
 
double getDensity ()
 
std::string getChemical ()
 
int changeLayerUpwards ()
 
int changeLayerDownwards ()
 
void deleteLayer ()
 
int enableDisableLayer (bool change_)
 
void setDensity (double density_)
 
void setChemical (std::string chemical_)
 
void changeLayerVisual (bool b)
 
- 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

- 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 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 ()
 
- 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

at::AtmosphereViewerControlWidget::AtmosphereViewerControlWidget ( AtmosphereEngine _engine,
ge::InputControl _input 
)
at::AtmosphereViewerControlWidget::~AtmosphereViewerControlWidget ( )

Member Function Documentation

bool at::AtmosphereViewerControlWidget::addLayer ( int  innerRadius_,
int  outerRadius_,
double  density_,
bool  earthDensity_ 
)
int at::AtmosphereViewerControlWidget::changeLayerDownwards ( )
int at::AtmosphereViewerControlWidget::changeLayerUpwards ( )
void at::AtmosphereViewerControlWidget::changeLayerVisual ( bool  b)
void at::AtmosphereViewerControlWidget::deleteLayer ( )
void at::AtmosphereViewerControlWidget::drawGL ( )
virtual
void at::AtmosphereViewerControlWidget::drawUI ( )
virtual
int at::AtmosphereViewerControlWidget::enableDisableLayer ( bool  change_)
std::string at::AtmosphereViewerControlWidget::getChemical ( )
double at::AtmosphereViewerControlWidget::getDensity ( )
double at::AtmosphereViewerControlWidget::getRadius ( )
void at::AtmosphereViewerControlWidget::initialize ( )
virtual
void at::AtmosphereViewerControlWidget::passTristate ( int  s1_,
int  s2_,
int  s3_ 
)
void at::AtmosphereViewerControlWidget::resize ( int  width,
int  height 
)
virtual
void at::AtmosphereViewerControlWidget::setChemical ( std::string  chemical_)
void at::AtmosphereViewerControlWidget::setDensity ( double  density_)
bool at::AtmosphereViewerControlWidget::setSpectrum ( int  lowRed_,
int  highRed_,
int  lowGreen_,
int  highGreen_,
int  lowBlue_,
int  highBlue_ 
)
void at::AtmosphereViewerControlWidget::updateScene ( )
virtual

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