GlobeEngine
PlanetaryViewerVolumeWidget.h
Go to the documentation of this file.
1 #ifndef PLANETARYVIEWERVOLUMEWIDGET_H
2 #define PLANETARYVIEWERVOLUMEWIDGET_H
3 
4 #include <QGroupBox>
5 #include <QGridLayout>
6 #include <QComboBox>
7 #include <QSlider>
8 #include <QLabel>
9 #include <QCheckBox>
10 
11 #include "PlanetaryViewerEngine.h"
12 
13 namespace gePlanetaryViewer
14 {
15  class PlanetaryViewerVolumeWidget : public QGroupBox
16  {
17  Q_OBJECT
18 
19  public:
20  PlanetaryViewerVolumeWidget(PlanetaryViewerSceneBlueprint* _sceneBlueprint, QWidget *parent = 0);
22 
23 
24  public slots:
25  void update();
26  void test();
27  void updateStreamlinesUI();
28  void slider1Moved();
29  void slider2Moved();
30  void slider3Moved();
31  void slider4Moved();
32 
33  signals:
34  void uiChanged();
35 
36  private:
37 
38  // info
39  PlanetaryViewerSceneBlueprint* sceneBlueprint;
40  VolumeInteractionInfo volumeInteractionInfo;
41  StreamlinesInteractionInfo streamlinesInteractionInfo;
42 
43  // directory
44  QComboBox* directoryComboBox;
45 
46  // timestep
47  QSlider* timestepSlider;
48  QLabel* timestepLabel;
49 
50  // slicing
51  QCheckBox* slicingXYCheckbox;
52  QCheckBox* slicingXZCheckbox;
53  QCheckBox* slicingYZCheckbox;
54  QSlider* slicingXYSlider;
55  QSlider* slicingXZSlider;
56  QSlider* slicingYZSlider;
57  QLabel* slicingXYLabel;
58  QLabel* slicingXZLabel;
59  QLabel* slicingYZLabel;
60  QCheckBox* sliceMappingCheckbox;
61 
62  // marching
63  QGroupBox* rayMarchingGroup;
64  QComboBox* rayMarchingComboBox;
65  QLabel* thresholdLabel1;
66  QLabel* thresholdLabel2;
67  QSlider* thresholdSlider;
68  QLabel* stepsizeLabel1;
69  QLabel* stepsizeLabel2;
70  QSlider* stepsizeSlider;
71 
72  // streamlines
73  QGroupBox* streamlinesGroup;
74  QCheckBox* streamlinesCheckbox;
75 
76  QSlider* streamlinesDistanceSlider;
77  QLabel* streamlinesDistanceLabel2;
78  QSlider* streamlinesSeedsSlider;
79  QLabel* streamlinesSeedsLabel;
80  QSlider* streamlinesStepsizeSlider;
81  QLabel* streamlinesStepsizeLabel2;
82  QComboBox* streamlinesColoringComboBox;
83 
84  QSlider* streamlinesMinimumIterationsSlider;
85  QLabel* streamlinesMinimumIterationsLabel2;
86  QSlider* streamlinesMaximumIterationsSlider;
87  QLabel* streamlinesMaximumIterationsLabel2;
88 
89  QSlider* streamlinesMinimumZSlider;
90  QLabel* streamlinesMinimumZLabel2;
91  QSlider* streamlinesMaximumZSlider;
92  QLabel* streamlinesMaximumZLabel2;
93  };
94 
95 }
96 #endif // PLANETARYVIEWERVOLUMEWIDGET_H
~PlanetaryViewerVolumeWidget()
Definition: PlanetaryViewerVolumeWidget.h:21
void test()
Definition: PlanetaryViewerVolumeWidget.cpp:333
void slider2Moved()
Definition: PlanetaryViewerVolumeWidget.cpp:293
void update()
Definition: PlanetaryViewerVolumeWidget.cpp:369
Definition: PlanetaryViewerComposition.h:6
void slider1Moved()
Definition: PlanetaryViewerVolumeWidget.cpp:284
Definition: PlanetaryViewerSceneBlueprint.h:32
Definition: PlanetaryViewerSceneBlueprint.h:47
Definition: PlanetaryViewerVolumeWidget.h:15
PlanetaryViewerVolumeWidget(PlanetaryViewerSceneBlueprint *_sceneBlueprint, QWidget *parent=0)
Definition: PlanetaryViewerVolumeWidget.cpp:5
Definition: PlanetaryViewerSceneBlueprint.h:59
void slider3Moved()
Definition: PlanetaryViewerVolumeWidget.cpp:302
void slider4Moved()
Definition: PlanetaryViewerVolumeWidget.cpp:311
void updateStreamlinesUI()
Definition: PlanetaryViewerVolumeWidget.cpp:320