4 #include "TransferWidget.hpp"
5 #include "renderwindow.h"
8 class QDialogButtonBox;
27 class Vis2 :
public QWidget
37 Vis2(QWidget *parent = 0);
48 void createGLGroupBox();
53 void createFileGroupBox();
57 void createTransferGroupBox();
63 void createSettingsTabWidget();
67 void createSliceSettingsTab();
71 void createVolumeSettingsTab();
75 QGroupBox *glGroupBox;
76 QGroupBox *fileGroupBox;
77 QGroupBox *transferGroupBox;
79 QTabWidget *settingsTabWidget;
80 QWidget *sliceSettingsTab;
81 QWidget *volumeSettingsTab;
87 QRadioButton *zRadioBtn;
88 QRadioButton *yRadioBtn;
89 QRadioButton *xRadioBtn;
93 QCheckBox *lightCheckBox;
94 QCheckBox *perspProjCheckBox;
96 QDoubleSpinBox *stepsizeSpinBox;
97 QRadioButton *f2bRadioButton;
98 QRadioButton *b2fRadioButton;
99 QSlider *xPlaneSlider;
100 QSlider *yPlaneSlider;
101 QSlider *zPlaneSlider;
102 QPushButton *resetButton;
103 QPushButton *calculateDepthEnergyButton;
104 QCheckBox *showCannyEdgesCheckBox;
105 QCheckBox *showJunctionsCheckBox;
106 QCheckBox *showXJunctionsCheckBox;
107 QCheckBox *useBlurredTFCheckBox;
108 QLabel *depthOrderingLabel;
114 QLineEdit *volumeFileLocation;
115 QPushButton *volumeFileOpenBtn;
116 QAction *volumeFileOpenAct;
117 QLineEdit *projFileLocation;
118 QPushButton *projFileOpenBtn;
119 QPushButton *projFileSaveBtn;
120 QCheckBox *projTransferOnly;
121 QPushButton *screenshotSaveBtn;
122 QAction *projFileOpenAct;
163 void saveScreenshot();
167 void directionChanged(
bool);
171 void transferChanged();