GlobeEngine
ClimateViewerUI.h
Go to the documentation of this file.
1 
8 #ifndef GlobeEngine_ClimateViewer_h
9 #define GlobeEngine_ClimateViewer_h
10 
11 #include "OpenGL_Includes.h"
12 #include "ui_climateViewer.h"
13 #include "ClimateViewerGLWidget.h"
14 #include "SimpleQTViewer.h"
15 
16 #include <QSpinBox>
17 #include <QCheckBox>
18 #include <QPushButton>
19 
20 namespace geClimateViewer {
21 
23  {
24  Q_OBJECT
25  public:
26  ClimateViewerUI(ClimateViewerGLWidget* _glWidget, QWidget *parent = 0);
29  public slots:
30  void selectMenu(QAction* _action);
31 
32  public Q_SLOTS:
33  void streamlineChanged();
34  void drawRandomFunc();
35  void drawTopoFunc();
36  void calcTopoFunc();
37  void calcPerpFunc();
38  void loadDataFunc();
39  void play();
40  void legendStateChanged();
41  Ui::ClimateViewerUIClass &getUi(){return ui;};
42  void direct();
43 
44  private:
45  Ui::ClimateViewerUIClass ui;
46  QTimer* update_timer;
47  /*
48  QSpinBox *uilineLength;
49  QSpinBox *uilineSteps;
50  QSpinBox *uiseedsNumber;
51  QDoubleSpinBox *uidt;
52  QDoubleSpinBox *uiminDistance;
53  QCheckBox *uishowvector;
54  QCheckBox *uishowperp;
55  QCheckBox *uirandom;
56  QCheckBox *uitopo;
57  QCheckBox *uicheckMinDistance;
58  QPushButton *drawRandom;
59  QPushButton *drawTopo;
60  QSpinBox *uiActivePoint;
61  QSpinBox *uiActiveRegion;
62  QSpinBox *uiActiveStreamline;
63  */
64  };
65 }
66 #endif
ClimateViewerUI(ClimateViewerGLWidget *_glWidget, QWidget *parent=0)
Definition: ClimateViewerUI.cpp:10
void calcPerpFunc()
Definition: ClimateViewerUI.cpp:374
void streamlineChanged()
Definition: ClimateViewerUI.cpp:290
Ui::ClimateViewerUIClass & getUi()
Definition: ClimateViewerUI.h:41
void selectMenu(QAction *_action)
Definition: ClimateViewerUI.cpp:329
void drawTopoFunc()
Definition: ClimateViewerUI.cpp:365
void drawRandomFunc()
Definition: ClimateViewerUI.cpp:368
void loadDataFunc()
Definition: ClimateViewerUI.cpp:377
Definition: ClimateViewerUI.h:22
void direct()
Definition: ClimateViewerUI.cpp:388
void legendStateChanged()
Definition: ClimateViewerUI.cpp:396
void play()
Definition: ClimateViewerUI.cpp:385
void calcTopoFunc()
Definition: ClimateViewerUI.cpp:371
~ClimateViewerUI()
Definition: ClimateViewerUI.cpp:287
Definition: ClimateViewerComposition.h:13
Definition: SimpleQTViewer.h:13
ClimateViewerGLWidget * glWidget
Definition: ClimateViewerUI.h:28
Definition: ClimateViewerGLWidget.h:20