GlobeEngine
AtmosphereViewerControlWidget.h
Go to the documentation of this file.
1 
8 #ifndef AtmosphereEngine_AtmosphereViewerControlWidget_h
9 #define AtmosphereEngine_AtmosphereViewerControlWidget_h
10 
11 #include "OpenGL_Includes.h"
12 #include "AtmosphereEngine.h"
14 #include "SimpleQTViewerGLWidget.h"
15 
16 class CoreViewerUI;
17 
18 namespace at {
20  Q_OBJECT
21 
22 public:
25 
26  void initialize();
27  void drawGL();
28  void updateScene();
29  void drawUI();
30  void resize(int width, int height);
31  void passTristate(int s1_, int s2_, int s3_);
32 
33  bool setSpectrum(int lowRed_, int highRed_, int lowGreen_, int highGreen_, int lowBlue_, int highBlue_);
34  bool addLayer(int innerRadius_, int outerRadius_, double density_, bool earthDensity_);
35  double getRadius();
36  double getDensity();
37  std::string getChemical();
38  int changeLayerUpwards();
40  void deleteLayer();
41  int enableDisableLayer(bool change_);
42  void setDensity(double density_);
43  void setChemical(std::string chemical_);
44  void changeLayerVisual(bool b);
45 private:
46  };
47 }
48 #endif
std::string getChemical()
Definition: AtmosphereViewerControlWidget.cpp:97
Definition: AtmosphereViewerControlWidget.h:19
double getDensity()
Definition: AtmosphereViewerControlWidget.cpp:94
~AtmosphereViewerControlWidget()
Definition: AtmosphereViewerControlWidget.cpp:18
void drawUI()
Definition: AtmosphereViewerControlWidget.cpp:60
AtmosphereViewerControlWidget(AtmosphereEngine *_engine, ge::InputControl *_input)
Definition: AtmosphereViewerControlWidget.cpp:13
int changeLayerDownwards()
Definition: AtmosphereViewerControlWidget.cpp:103
int enableDisableLayer(bool change_)
Definition: AtmosphereViewerControlWidget.cpp:112
void changeLayerVisual(bool b)
Definition: AtmosphereViewerControlWidget.cpp:106
void updateScene()
Definition: AtmosphereViewerControlWidget.cpp:47
void initialize()
Definition: AtmosphereViewerControlWidget.cpp:23
Definition: SimpleQTViewerGLWidget.h:24
void drawGL()
Definition: AtmosphereViewerControlWidget.cpp:52
bool addLayer(int innerRadius_, int outerRadius_, double density_, bool earthDensity_)
Definition: AtmosphereViewerControlWidget.cpp:88
void resize(int width, int height)
Definition: AtmosphereViewerControlWidget.cpp:77
bool setSpectrum(int lowRed_, int highRed_, int lowGreen_, int highGreen_, int lowBlue_, int highBlue_)
Definition: AtmosphereViewerControlWidget.cpp:85
double getRadius()
Definition: AtmosphereViewerControlWidget.cpp:91
void deleteLayer()
Definition: AtmosphereViewerControlWidget.cpp:109
void setDensity(double density_)
Definition: AtmosphereViewerControlWidget.cpp:115
Definition: AtmosphereEngine.h:39
Definition: AtmosphereComposition.h:20
void setChemical(std::string chemical_)
Definition: AtmosphereViewerControlWidget.cpp:118
Definition: InputControl.h:16
void passTristate(int s1_, int s2_, int s3_)
Definition: AtmosphereViewerControlWidget.cpp:82
int changeLayerUpwards()
Definition: AtmosphereViewerControlWidget.cpp:100