00001 #ifndef UI_VISMAINUI_H
00002 #define UI_VISMAINUI_H
00003
00004 #include <QtCore/QVariant>
00005 #include <QtGui/QAction>
00006 #include <QtGui/QApplication>
00007 #include <QtGui/QButtonGroup>
00008 #include <QtGui/QCheckBox>
00009 #include <QtGui/QComboBox>
00010 #include <QtGui/QDoubleSpinBox>
00011 #include <QtGui/QGroupBox>
00012 #include <QtGui/QHBoxLayout>
00013 #include <QtGui/QLabel>
00014 #include <QtGui/QMainWindow>
00015 #include <QtGui/QPushButton>
00016 #include <QtGui/QSlider>
00017 #include <QtGui/QSpacerItem>
00018 #include <QtGui/QSpinBox>
00019 #include <QtGui/QVBoxLayout>
00020 #include <QtGui/QWidget>
00021
00022 class Ui_MainWindow
00023 {
00024 public:
00025 QWidget *centralWidget;
00026 QPushButton *openFile;
00027 QPushButton *sliceX;
00028 QGroupBox *groupBox_2;
00029 QSlider *rotateX;
00030 QSlider *rotateY;
00031 QSlider *rotateZ;
00032 QLabel *label_6;
00033 QLabel *label_6_2;
00034 QLabel *label_6_2_2;
00035 QLabel *rotateX_ValueLabel;
00036 QLabel *rotateY_ValueLabel;
00037 QLabel *rotateZ_ValueLabel;
00038 QPushButton *applyChanges;
00039 QPushButton *sliceY;
00040 QPushButton *sliceZ;
00041 QGroupBox *groupBox;
00042 QSpinBox *spinBox;
00043 QGroupBox *lightingGroupBox;
00044 QWidget *widget_2;
00045 QWidget *layoutWidget_2;
00046 QWidget *sE_label;
00047 QSlider *kD;
00048 QSlider *kS;
00049 QSlider *sE;
00050 QLabel *kD_label;
00051 QLabel *kS_label;
00052 QLabel *sE_label_2;
00053 QLabel *label_5;
00054 QLabel *label_3;
00055 QLabel *label_4;
00056 QLabel *label_2;
00057 QSpinBox *lightVectorX;
00058 QSpinBox *lightVectorZ;
00059 QSpinBox *lightVectorY;
00060 QLabel *kDValueLabel;
00061 QLabel *kSValueLabel;
00062 QLabel *sEValueLabel;
00063 QWidget *widget;
00064 QVBoxLayout *vboxLayout;
00065 QSpacerItem *spacerItem;
00066 QHBoxLayout *hboxLayout;
00067 QSpacerItem *spacerItem1;
00068 QLabel *label;
00069 QSpacerItem *spacerItem2;
00070 QSpacerItem *spacerItem3;
00071 QPushButton *newShader;
00072 QGroupBox *bgColorGroupBox;
00073 QPushButton *bgColor;
00074 QGroupBox *groupBox_4;
00075 QGroupBox *groupBox_3_2;
00076 QSpinBox *spinBox_2_2;
00077 QDoubleSpinBox *imgSize;
00078 QGroupBox *sampleRateGroupBox;
00079 QDoubleSpinBox *sampleRate;
00080 QComboBox *interpolationMode;
00081 QComboBox *renderMode;
00082 QComboBox *renderer;
00083 QCheckBox *enableLighting;
00084
00085 void setupUi(QMainWindow *MainWindow)
00086 {
00087 MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
00088 MainWindow->resize(QSize(1160, 748).expandedTo(MainWindow->minimumSizeHint()));
00089 centralWidget = new QWidget(MainWindow);
00090 centralWidget->setObjectName(QString::fromUtf8("centralWidget"));
00091 openFile = new QPushButton(centralWidget);
00092 openFile->setObjectName(QString::fromUtf8("openFile"));
00093 openFile->setGeometry(QRect(20, 170, 93, 26));
00094 sliceX = new QPushButton(centralWidget);
00095 sliceX->setObjectName(QString::fromUtf8("sliceX"));
00096 sliceX->setEnabled(false);
00097 sliceX->setGeometry(QRect(20, 20, 93, 26));
00098 groupBox_2 = new QGroupBox(centralWidget);
00099 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
00100 groupBox_2->setGeometry(QRect(220, 630, 581, 111));
00101 rotateX = new QSlider(groupBox_2);
00102 rotateX->setObjectName(QString::fromUtf8("rotateX"));
00103 rotateX->setGeometry(QRect(70, 20, 451, 22));
00104 rotateX->setMinimum(-180);
00105 rotateX->setMaximum(180);
00106 rotateX->setValue(0);
00107 rotateX->setOrientation(Qt::Horizontal);
00108 rotateY = new QSlider(groupBox_2);
00109 rotateY->setObjectName(QString::fromUtf8("rotateY"));
00110 rotateY->setGeometry(QRect(70, 50, 451, 22));
00111 rotateY->setMinimum(-180);
00112 rotateY->setMaximum(180);
00113 rotateY->setValue(0);
00114 rotateY->setOrientation(Qt::Horizontal);
00115 rotateZ = new QSlider(groupBox_2);
00116 rotateZ->setObjectName(QString::fromUtf8("rotateZ"));
00117 rotateZ->setGeometry(QRect(70, 80, 451, 22));
00118 rotateZ->setMinimum(-180);
00119 rotateZ->setMaximum(180);
00120 rotateZ->setValue(0);
00121 rotateZ->setOrientation(Qt::Horizontal);
00122 label_6 = new QLabel(groupBox_2);
00123 label_6->setObjectName(QString::fromUtf8("label_6"));
00124 label_6->setGeometry(QRect(10, 20, 56, 22));
00125 label_6_2 = new QLabel(groupBox_2);
00126 label_6_2->setObjectName(QString::fromUtf8("label_6_2"));
00127 label_6_2->setGeometry(QRect(10, 50, 56, 22));
00128 label_6_2_2 = new QLabel(groupBox_2);
00129 label_6_2_2->setObjectName(QString::fromUtf8("label_6_2_2"));
00130 label_6_2_2->setGeometry(QRect(10, 80, 56, 22));
00131 rotateX_ValueLabel = new QLabel(groupBox_2);
00132 rotateX_ValueLabel->setObjectName(QString::fromUtf8("rotateX_ValueLabel"));
00133 rotateX_ValueLabel->setGeometry(QRect(530, 20, 41, 24));
00134 rotateY_ValueLabel = new QLabel(groupBox_2);
00135 rotateY_ValueLabel->setObjectName(QString::fromUtf8("rotateY_ValueLabel"));
00136 rotateY_ValueLabel->setGeometry(QRect(530, 50, 41, 17));
00137 rotateZ_ValueLabel = new QLabel(groupBox_2);
00138 rotateZ_ValueLabel->setObjectName(QString::fromUtf8("rotateZ_ValueLabel"));
00139 rotateZ_ValueLabel->setGeometry(QRect(530, 80, 41, 17));
00140 applyChanges = new QPushButton(centralWidget);
00141 applyChanges->setObjectName(QString::fromUtf8("applyChanges"));
00142 applyChanges->setEnabled(false);
00143 applyChanges->setGeometry(QRect(10, 690, 151, 51));
00144 sliceY = new QPushButton(centralWidget);
00145 sliceY->setObjectName(QString::fromUtf8("sliceY"));
00146 sliceY->setEnabled(false);
00147 sliceY->setGeometry(QRect(20, 50, 93, 26));
00148 sliceZ = new QPushButton(centralWidget);
00149 sliceZ->setObjectName(QString::fromUtf8("sliceZ"));
00150 sliceZ->setEnabled(false);
00151 sliceZ->setGeometry(QRect(20, 80, 93, 26));
00152 groupBox = new QGroupBox(centralWidget);
00153 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00154 groupBox->setGeometry(QRect(20, 110, 120, 51));
00155 spinBox = new QSpinBox(groupBox);
00156 spinBox->setObjectName(QString::fromUtf8("spinBox"));
00157 spinBox->setEnabled(false);
00158 spinBox->setGeometry(QRect(10, 20, 71, 24));
00159 lightingGroupBox = new QGroupBox(centralWidget);
00160 lightingGroupBox->setObjectName(QString::fromUtf8("lightingGroupBox"));
00161 lightingGroupBox->setEnabled(false);
00162 lightingGroupBox->setGeometry(QRect(10, 490, 201, 191));
00163 widget_2 = new QWidget(lightingGroupBox);
00164 widget_2->setObjectName(QString::fromUtf8("widget_2"));
00165 widget_2->setGeometry(QRect(10, 30, 140, 24));
00166 layoutWidget_2 = new QWidget(lightingGroupBox);
00167 layoutWidget_2->setObjectName(QString::fromUtf8("layoutWidget_2"));
00168 layoutWidget_2->setGeometry(QRect(10, 60, 140, 24));
00169 sE_label = new QWidget(lightingGroupBox);
00170 sE_label->setObjectName(QString::fromUtf8("sE_label"));
00171 sE_label->setGeometry(QRect(10, 90, 140, 24));
00172 kD = new QSlider(lightingGroupBox);
00173 kD->setObjectName(QString::fromUtf8("kD"));
00174 kD->setGeometry(QRect(30, 30, 71, 22));
00175 kD->setMaximum(100);
00176 kD->setValue(50);
00177 kD->setSliderPosition(50);
00178 kD->setOrientation(Qt::Horizontal);
00179 kD->setInvertedAppearance(false);
00180 kS = new QSlider(lightingGroupBox);
00181 kS->setObjectName(QString::fromUtf8("kS"));
00182 kS->setGeometry(QRect(30, 60, 71, 22));
00183 kS->setMaximum(100);
00184 kS->setSingleStep(1);
00185 kS->setValue(100);
00186 kS->setSliderPosition(100);
00187 kS->setOrientation(Qt::Horizontal);
00188 kS->setInvertedAppearance(false);
00189 sE = new QSlider(lightingGroupBox);
00190 sE->setObjectName(QString::fromUtf8("sE"));
00191 sE->setGeometry(QRect(30, 90, 71, 22));
00192 sE->setMaximum(100);
00193 sE->setValue(10);
00194 sE->setSliderPosition(10);
00195 sE->setOrientation(Qt::Horizontal);
00196 sE->setInvertedAppearance(false);
00197 kD_label = new QLabel(lightingGroupBox);
00198 kD_label->setObjectName(QString::fromUtf8("kD_label"));
00199 kD_label->setGeometry(QRect(10, 30, 22, 22));
00200 kS_label = new QLabel(lightingGroupBox);
00201 kS_label->setObjectName(QString::fromUtf8("kS_label"));
00202 kS_label->setGeometry(QRect(10, 60, 19, 22));
00203 sE_label_2 = new QLabel(lightingGroupBox);
00204 sE_label_2->setObjectName(QString::fromUtf8("sE_label_2"));
00205 sE_label_2->setGeometry(QRect(10, 90, 18, 22));
00206 label_5 = new QLabel(lightingGroupBox);
00207 label_5->setObjectName(QString::fromUtf8("label_5"));
00208 label_5->setGeometry(QRect(10, 120, 144, 17));
00209 label_3 = new QLabel(lightingGroupBox);
00210 label_3->setObjectName(QString::fromUtf8("label_3"));
00211 label_3->setGeometry(QRect(90, 140, 16, 17));
00212 label_4 = new QLabel(lightingGroupBox);
00213 label_4->setObjectName(QString::fromUtf8("label_4"));
00214 label_4->setGeometry(QRect(150, 140, 16, 17));
00215 label_2 = new QLabel(lightingGroupBox);
00216 label_2->setObjectName(QString::fromUtf8("label_2"));
00217 label_2->setGeometry(QRect(30, 140, 16, 17));
00218 lightVectorX = new QSpinBox(lightingGroupBox);
00219 lightVectorX->setObjectName(QString::fromUtf8("lightVectorX"));
00220 lightVectorX->setGeometry(QRect(10, 160, 63, 24));
00221 lightVectorX->setMinimum(-99);
00222 lightVectorZ = new QSpinBox(lightingGroupBox);
00223 lightVectorZ->setObjectName(QString::fromUtf8("lightVectorZ"));
00224 lightVectorZ->setGeometry(QRect(130, 160, 63, 24));
00225 lightVectorZ->setMaximum(99);
00226 lightVectorZ->setMinimum(-99);
00227 lightVectorZ->setSingleStep(1);
00228 lightVectorZ->setValue(1);
00229 lightVectorY = new QSpinBox(lightingGroupBox);
00230 lightVectorY->setObjectName(QString::fromUtf8("lightVectorY"));
00231 lightVectorY->setGeometry(QRect(70, 160, 63, 24));
00232 lightVectorY->setMinimum(-99);
00233 kDValueLabel = new QLabel(lightingGroupBox);
00234 kDValueLabel->setObjectName(QString::fromUtf8("kDValueLabel"));
00235 kDValueLabel->setGeometry(QRect(110, 30, 41, 22));
00236 kSValueLabel = new QLabel(lightingGroupBox);
00237 kSValueLabel->setObjectName(QString::fromUtf8("kSValueLabel"));
00238 kSValueLabel->setGeometry(QRect(110, 60, 41, 22));
00239 sEValueLabel = new QLabel(lightingGroupBox);
00240 sEValueLabel->setObjectName(QString::fromUtf8("sEValueLabel"));
00241 sEValueLabel->setGeometry(QRect(110, 90, 41, 22));
00242 widget = new QWidget(centralWidget);
00243 widget->setObjectName(QString::fromUtf8("widget"));
00244 widget->setGeometry(QRect(230, 20, 881, 581));
00245 vboxLayout = new QVBoxLayout(widget);
00246 vboxLayout->setSpacing(6);
00247 vboxLayout->setMargin(0);
00248 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00249 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00250
00251 vboxLayout->addItem(spacerItem);
00252
00253 hboxLayout = new QHBoxLayout();
00254 hboxLayout->setSpacing(6);
00255 hboxLayout->setMargin(0);
00256 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00257 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00258
00259 hboxLayout->addItem(spacerItem1);
00260
00261 label = new QLabel(widget);
00262 label->setObjectName(QString::fromUtf8("label"));
00263
00264 hboxLayout->addWidget(label);
00265
00266 spacerItem2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00267
00268 hboxLayout->addItem(spacerItem2);
00269
00270
00271 vboxLayout->addLayout(hboxLayout);
00272
00273 spacerItem3 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
00274
00275 vboxLayout->addItem(spacerItem3);
00276
00277 newShader = new QPushButton(centralWidget);
00278 newShader->setObjectName(QString::fromUtf8("newShader"));
00279 newShader->setGeometry(QRect(20, 200, 91, 26));
00280 bgColorGroupBox = new QGroupBox(centralWidget);
00281 bgColorGroupBox->setObjectName(QString::fromUtf8("bgColorGroupBox"));
00282 bgColorGroupBox->setGeometry(QRect(810, 680, 141, 61));
00283 bgColor = new QPushButton(bgColorGroupBox);
00284 bgColor->setObjectName(QString::fromUtf8("bgColor"));
00285 bgColor->setGeometry(QRect(10, 20, 121, 32));
00286 groupBox_4 = new QGroupBox(centralWidget);
00287 groupBox_4->setObjectName(QString::fromUtf8("groupBox_4"));
00288 groupBox_4->setGeometry(QRect(810, 630, 141, 51));
00289 groupBox_3_2 = new QGroupBox(groupBox_4);
00290 groupBox_3_2->setObjectName(QString::fromUtf8("groupBox_3_2"));
00291 groupBox_3_2->setGeometry(QRect(30, 120, 120, 51));
00292 spinBox_2_2 = new QSpinBox(groupBox_3_2);
00293 spinBox_2_2->setObjectName(QString::fromUtf8("spinBox_2_2"));
00294 spinBox_2_2->setEnabled(false);
00295 spinBox_2_2->setGeometry(QRect(10, 20, 71, 24));
00296 imgSize = new QDoubleSpinBox(groupBox_4);
00297 imgSize->setObjectName(QString::fromUtf8("imgSize"));
00298 imgSize->setGeometry(QRect(10, 20, 121, 24));
00299 imgSize->setDecimals(1);
00300 imgSize->setMinimum(0.1);
00301 imgSize->setSingleStep(0.1);
00302 imgSize->setValue(1);
00303 sampleRateGroupBox = new QGroupBox(centralWidget);
00304 sampleRateGroupBox->setObjectName(QString::fromUtf8("sampleRateGroupBox"));
00305 sampleRateGroupBox->setGeometry(QRect(10, 390, 141, 51));
00306 sampleRate = new QDoubleSpinBox(sampleRateGroupBox);
00307 sampleRate->setObjectName(QString::fromUtf8("sampleRate"));
00308 sampleRate->setGeometry(QRect(10, 20, 121, 24));
00309 sampleRate->setDecimals(2);
00310 sampleRate->setMinimum(0.01);
00311 sampleRate->setSingleStep(0.01);
00312 sampleRate->setValue(1);
00313 interpolationMode = new QComboBox(centralWidget);
00314 interpolationMode->setObjectName(QString::fromUtf8("interpolationMode"));
00315 interpolationMode->setGeometry(QRect(10, 340, 161, 22));
00316 renderMode = new QComboBox(centralWidget);
00317 renderMode->setObjectName(QString::fromUtf8("renderMode"));
00318 renderMode->setGeometry(QRect(10, 300, 161, 22));
00319 renderer = new QComboBox(centralWidget);
00320 renderer->setObjectName(QString::fromUtf8("renderer"));
00321 renderer->setGeometry(QRect(10, 260, 161, 22));
00322 enableLighting = new QCheckBox(centralWidget);
00323 enableLighting->setObjectName(QString::fromUtf8("enableLighting"));
00324 enableLighting->setGeometry(QRect(10, 460, 141, 20));
00325 MainWindow->setCentralWidget(centralWidget);
00326 QWidget::setTabOrder(sliceX, sliceY);
00327 QWidget::setTabOrder(sliceY, sliceZ);
00328 QWidget::setTabOrder(sliceZ, spinBox);
00329 QWidget::setTabOrder(spinBox, openFile);
00330 QWidget::setTabOrder(openFile, newShader);
00331 retranslateUi(MainWindow);
00332
00333 QMetaObject::connectSlotsByName(MainWindow);
00334 }
00335
00336 void retranslateUi(QMainWindow *MainWindow)
00337 {
00338 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
00339 openFile->setText(QApplication::translate("MainWindow", "Open File", 0, QApplication::UnicodeUTF8));
00340 sliceX->setText(QApplication::translate("MainWindow", "Slice X", 0, QApplication::UnicodeUTF8));
00341 groupBox_2->setTitle(QApplication::translate("MainWindow", "Position:", 0, QApplication::UnicodeUTF8));
00342 label_6->setText(QApplication::translate("MainWindow", "RotateX: ", 0, QApplication::UnicodeUTF8));
00343 label_6_2->setText(QApplication::translate("MainWindow", "RotateY: ", 0, QApplication::UnicodeUTF8));
00344 label_6_2_2->setText(QApplication::translate("MainWindow", "RotateZ: ", 0, QApplication::UnicodeUTF8));
00345 rotateX_ValueLabel->setText(QApplication::translate("MainWindow", "0\302\260", 0, QApplication::UnicodeUTF8));
00346 rotateY_ValueLabel->setText(QApplication::translate("MainWindow", "0\302\260", 0, QApplication::UnicodeUTF8));
00347 rotateZ_ValueLabel->setText(QApplication::translate("MainWindow", "0\302\260", 0, QApplication::UnicodeUTF8));
00348 applyChanges->setText(QApplication::translate("MainWindow", "Apply Changes", 0, QApplication::UnicodeUTF8));
00349 sliceY->setText(QApplication::translate("MainWindow", "Slice Y", 0, QApplication::UnicodeUTF8));
00350 sliceZ->setText(QApplication::translate("MainWindow", "Slice Z", 0, QApplication::UnicodeUTF8));
00351 groupBox->setTitle(QApplication::translate("MainWindow", "Slice Number:", 0, QApplication::UnicodeUTF8));
00352 lightingGroupBox->setTitle(QApplication::translate("MainWindow", "Lighting:", 0, QApplication::UnicodeUTF8));
00353 kD->setWhatsThis(QApplication::translate("MainWindow", "Opacity", 0, QApplication::UnicodeUTF8));
00354 kS->setWhatsThis(QApplication::translate("MainWindow", "Opacity", 0, QApplication::UnicodeUTF8));
00355 sE->setWhatsThis(QApplication::translate("MainWindow", "Opacity", 0, QApplication::UnicodeUTF8));
00356 kD_label->setText(QApplication::translate("MainWindow", "KD:", 0, QApplication::UnicodeUTF8));
00357 kS_label->setText(QApplication::translate("MainWindow", "KS:", 0, QApplication::UnicodeUTF8));
00358 sE_label_2->setText(QApplication::translate("MainWindow", "SE:", 0, QApplication::UnicodeUTF8));
00359 label_5->setText(QApplication::translate("MainWindow", "Lightvector:", 0, QApplication::UnicodeUTF8));
00360 label_3->setText(QApplication::translate("MainWindow", "Y", 0, QApplication::UnicodeUTF8));
00361 label_4->setText(QApplication::translate("MainWindow", "Z", 0, QApplication::UnicodeUTF8));
00362 label_2->setText(QApplication::translate("MainWindow", "X", 0, QApplication::UnicodeUTF8));
00363 kDValueLabel->setText(QApplication::translate("MainWindow", "50%", 0, QApplication::UnicodeUTF8));
00364 kSValueLabel->setText(QApplication::translate("MainWindow", "100%", 0, QApplication::UnicodeUTF8));
00365 sEValueLabel->setText(QApplication::translate("MainWindow", "10", 0, QApplication::UnicodeUTF8));
00366 label->setText(QApplication::translate("MainWindow", "No file selected", 0, QApplication::UnicodeUTF8));
00367 newShader->setText(QApplication::translate("MainWindow", "New Material", 0, QApplication::UnicodeUTF8));
00368 bgColorGroupBox->setTitle(QApplication::translate("MainWindow", "Background Color:", 0, QApplication::UnicodeUTF8));
00369 bgColor->setText(QApplication::translate("MainWindow", "", 0, QApplication::UnicodeUTF8));
00370 groupBox_4->setTitle(QApplication::translate("MainWindow", "Imagesize Factor:", 0, QApplication::UnicodeUTF8));
00371 groupBox_3_2->setTitle(QApplication::translate("MainWindow", "Slice Number:", 0, QApplication::UnicodeUTF8));
00372 sampleRateGroupBox->setTitle(QApplication::translate("MainWindow", "Sample Rate:", 0, QApplication::UnicodeUTF8));
00373 interpolationMode->addItem(QApplication::translate("MainWindow", "Nearest Neighbour", 0, QApplication::UnicodeUTF8));
00374 interpolationMode->addItem(QApplication::translate("MainWindow", "Trilinear", 0, QApplication::UnicodeUTF8));
00375 renderMode->addItem(QApplication::translate("MainWindow", "FrontToBack", 0, QApplication::UnicodeUTF8));
00376 renderMode->addItem(QApplication::translate("MainWindow", "BackToFront", 0, QApplication::UnicodeUTF8));
00377 renderer->addItem(QApplication::translate("MainWindow", "Raycaster", 0, QApplication::UnicodeUTF8));
00378 renderer->addItem(QApplication::translate("MainWindow", "Slicer", 0, QApplication::UnicodeUTF8));
00379 enableLighting->setText(QApplication::translate("MainWindow", "enable Lighting", 0, QApplication::UnicodeUTF8));
00380 Q_UNUSED(MainWindow);
00381 }
00382
00383 };
00384
00385 namespace Ui {
00386 class MainWindow: public Ui_MainWindow {};
00387 }
00388
00389 #endif // UI_VISMAINUI_H