00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef UI_MAINWINDOW_H
00015 #define UI_MAINWINDOW_H
00016
00017 #include <QtCore/QVariant>
00018 #include <QtGui/QAction>
00019 #include <QtGui/QApplication>
00020 #include <QtGui/QButtonGroup>
00021 #include <QtGui/QGridLayout>
00022 #include <QtGui/QGroupBox>
00023 #include <QtGui/QHBoxLayout>
00024 #include <QtGui/QLabel>
00025 #include <QtGui/QMainWindow>
00026 #include <QtGui/QMenu>
00027 #include <QtGui/QMenuBar>
00028 #include <QtGui/QPushButton>
00029 #include <QtGui/QRadioButton>
00030 #include <QtGui/QSlider>
00031 #include <QtGui/QStatusBar>
00032 #include <QtGui/QWidget>
00033
00034 class Ui_MainWindow
00035 {
00036 public:
00037 QAction *m_actionOpen;
00038 QAction *m_actionQuit;
00039 QAction *m_actionClose;
00040 QAction *m_actionLoadTF;
00041 QAction *m_actionSaveTF;
00042 QAction *m_tfPreset0;
00043 QAction *m_tfPreset1;
00044 QAction *m_tfPreset2;
00045 QAction *m_tfPreset3;
00046 QWidget *m_centralWidget;
00047 QWidget *m_openGLLayout_y;
00048 QGridLayout *gridLayout;
00049 QWidget *m_openGLLayout_x;
00050 QGridLayout *gridLayout1;
00051 QWidget *m_openGLLayout_z;
00052 QGridLayout *gridLayout2;
00053 QWidget *m_slidersLayout;
00054 QHBoxLayout *hboxLayout;
00055 QSlider *m_verticalSlider_x;
00056 QSlider *m_verticalSlider_y;
00057 QSlider *m_verticalSlider_z;
00058 QSlider *m_verticalSlider_stepSize;
00059 QLabel *l_y_axis;
00060 QLabel *l_x_axis;
00061 QLabel *l_z_axis;
00062 QLabel *l_slider_x_axis;
00063 QLabel *l_slider_y_axis;
00064 QLabel *l_slider_z_axis;
00065 QWidget *m_openGL3DView;
00066 QGridLayout *gridLayout3;
00067 QLabel *l_3DView;
00068 QLabel *l_slider_z_axis_2;
00069 QGroupBox *groupBox;
00070 QRadioButton *m_radioButton_mip;
00071 QRadioButton *m_radioButton_comp;
00072 QRadioButton *m_radioButton_avg;
00073 QRadioButton *m_radioButton_avgTF;
00074 QRadioButton *m_radioButton_fh;
00075 QRadioButton *m_radioButton_compPh;
00076 QWidget *horizontalLayout;
00077 QHBoxLayout *hboxLayout1;
00078 QSlider *m_slider_kd;
00079 QSlider *m_slider_ka;
00080 QSlider *m_slider_ks;
00081 QSlider *m_slider_kg;
00082 QLabel *label_4;
00083 QLabel *label_5;
00084 QLabel *label_6;
00085 QLabel *label_7;
00086 QPushButton *m_button_tf;
00087 QMenuBar *m_menuBar;
00088 QMenu *m_menuFile;
00089 QMenu *menuTransfer_Function;
00090 QMenu *menuPresets;
00091 QStatusBar *m_statusBar;
00092
00093 void setupUi(QMainWindow *MainWindow)
00094 {
00095 if (MainWindow->objectName().isEmpty())
00096 MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
00097 MainWindow->resize(1200, 800);
00098 m_actionOpen = new QAction(MainWindow);
00099 m_actionOpen->setObjectName(QString::fromUtf8("m_actionOpen"));
00100 m_actionQuit = new QAction(MainWindow);
00101 m_actionQuit->setObjectName(QString::fromUtf8("m_actionQuit"));
00102 m_actionClose = new QAction(MainWindow);
00103 m_actionClose->setObjectName(QString::fromUtf8("m_actionClose"));
00104 m_actionLoadTF = new QAction(MainWindow);
00105 m_actionLoadTF->setObjectName(QString::fromUtf8("m_actionLoadTF"));
00106 m_actionSaveTF = new QAction(MainWindow);
00107 m_actionSaveTF->setObjectName(QString::fromUtf8("m_actionSaveTF"));
00108 m_tfPreset0 = new QAction(MainWindow);
00109 m_tfPreset0->setObjectName(QString::fromUtf8("m_tfPreset0"));
00110 m_tfPreset1 = new QAction(MainWindow);
00111 m_tfPreset1->setObjectName(QString::fromUtf8("m_tfPreset1"));
00112 m_tfPreset2 = new QAction(MainWindow);
00113 m_tfPreset2->setObjectName(QString::fromUtf8("m_tfPreset2"));
00114 m_tfPreset3 = new QAction(MainWindow);
00115 m_tfPreset3->setObjectName(QString::fromUtf8("m_tfPreset3"));
00116 m_centralWidget = new QWidget(MainWindow);
00117 m_centralWidget->setObjectName(QString::fromUtf8("m_centralWidget"));
00118 m_openGLLayout_y = new QWidget(m_centralWidget);
00119 m_openGLLayout_y->setObjectName(QString::fromUtf8("m_openGLLayout_y"));
00120 m_openGLLayout_y->setGeometry(QRect(10, 30, 250, 250));
00121 gridLayout = new QGridLayout(m_openGLLayout_y);
00122 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00123 gridLayout->setContentsMargins(0, 0, 0, 0);
00124 m_openGLLayout_x = new QWidget(m_centralWidget);
00125 m_openGLLayout_x->setObjectName(QString::fromUtf8("m_openGLLayout_x"));
00126 m_openGLLayout_x->setGeometry(QRect(270, 30, 250, 250));
00127 gridLayout1 = new QGridLayout(m_openGLLayout_x);
00128 gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
00129 gridLayout1->setContentsMargins(0, 0, 0, 0);
00130 m_openGLLayout_z = new QWidget(m_centralWidget);
00131 m_openGLLayout_z->setObjectName(QString::fromUtf8("m_openGLLayout_z"));
00132 m_openGLLayout_z->setGeometry(QRect(10, 310, 250, 250));
00133 gridLayout2 = new QGridLayout(m_openGLLayout_z);
00134 gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
00135 gridLayout2->setContentsMargins(0, 0, 0, 0);
00136 m_slidersLayout = new QWidget(m_centralWidget);
00137 m_slidersLayout->setObjectName(QString::fromUtf8("m_slidersLayout"));
00138 m_slidersLayout->setGeometry(QRect(270, 310, 241, 121));
00139 hboxLayout = new QHBoxLayout(m_slidersLayout);
00140 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00141 hboxLayout->setContentsMargins(0, 0, 0, 0);
00142 m_verticalSlider_x = new QSlider(m_slidersLayout);
00143 m_verticalSlider_x->setObjectName(QString::fromUtf8("m_verticalSlider_x"));
00144 m_verticalSlider_x->setOrientation(Qt::Vertical);
00145
00146 hboxLayout->addWidget(m_verticalSlider_x);
00147
00148 m_verticalSlider_y = new QSlider(m_slidersLayout);
00149 m_verticalSlider_y->setObjectName(QString::fromUtf8("m_verticalSlider_y"));
00150 m_verticalSlider_y->setOrientation(Qt::Vertical);
00151
00152 hboxLayout->addWidget(m_verticalSlider_y);
00153
00154 m_verticalSlider_z = new QSlider(m_slidersLayout);
00155 m_verticalSlider_z->setObjectName(QString::fromUtf8("m_verticalSlider_z"));
00156 m_verticalSlider_z->setOrientation(Qt::Vertical);
00157
00158 hboxLayout->addWidget(m_verticalSlider_z);
00159
00160 m_verticalSlider_stepSize = new QSlider(m_slidersLayout);
00161 m_verticalSlider_stepSize->setObjectName(QString::fromUtf8("m_verticalSlider_stepSize"));
00162 m_verticalSlider_stepSize->setOrientation(Qt::Vertical);
00163
00164 hboxLayout->addWidget(m_verticalSlider_stepSize);
00165
00166 l_y_axis = new QLabel(m_centralWidget);
00167 l_y_axis->setObjectName(QString::fromUtf8("l_y_axis"));
00168 l_y_axis->setGeometry(QRect(10, 10, 60, 20));
00169 l_x_axis = new QLabel(m_centralWidget);
00170 l_x_axis->setObjectName(QString::fromUtf8("l_x_axis"));
00171 l_x_axis->setGeometry(QRect(10, 290, 60, 20));
00172 l_z_axis = new QLabel(m_centralWidget);
00173 l_z_axis->setObjectName(QString::fromUtf8("l_z_axis"));
00174 l_z_axis->setGeometry(QRect(270, 10, 60, 20));
00175 l_slider_x_axis = new QLabel(m_centralWidget);
00176 l_slider_x_axis->setObjectName(QString::fromUtf8("l_slider_x_axis"));
00177 l_slider_x_axis->setGeometry(QRect(270, 290, 60, 20));
00178 l_slider_y_axis = new QLabel(m_centralWidget);
00179 l_slider_y_axis->setObjectName(QString::fromUtf8("l_slider_y_axis"));
00180 l_slider_y_axis->setGeometry(QRect(340, 290, 60, 20));
00181 l_slider_z_axis = new QLabel(m_centralWidget);
00182 l_slider_z_axis->setObjectName(QString::fromUtf8("l_slider_z_axis"));
00183 l_slider_z_axis->setGeometry(QRect(400, 290, 60, 20));
00184 m_openGL3DView = new QWidget(m_centralWidget);
00185 m_openGL3DView->setObjectName(QString::fromUtf8("m_openGL3DView"));
00186 m_openGL3DView->setGeometry(QRect(530, 30, 600, 600));
00187 gridLayout3 = new QGridLayout(m_openGL3DView);
00188 gridLayout3->setObjectName(QString::fromUtf8("gridLayout3"));
00189 gridLayout3->setContentsMargins(0, 0, 0, 0);
00190 l_3DView = new QLabel(m_centralWidget);
00191 l_3DView->setObjectName(QString::fromUtf8("l_3DView"));
00192 l_3DView->setGeometry(QRect(530, 10, 60, 20));
00193 l_slider_z_axis_2 = new QLabel(m_centralWidget);
00194 l_slider_z_axis_2->setObjectName(QString::fromUtf8("l_slider_z_axis_2"));
00195 l_slider_z_axis_2->setGeometry(QRect(450, 290, 81, 20));
00196 groupBox = new QGroupBox(m_centralWidget);
00197 groupBox->setObjectName(QString::fromUtf8("groupBox"));
00198 groupBox->setGeometry(QRect(270, 450, 231, 201));
00199 m_radioButton_mip = new QRadioButton(groupBox);
00200 m_radioButton_mip->setObjectName(QString::fromUtf8("m_radioButton_mip"));
00201 m_radioButton_mip->setGeometry(QRect(20, 170, 51, 19));
00202 m_radioButton_comp = new QRadioButton(groupBox);
00203 m_radioButton_comp->setObjectName(QString::fromUtf8("m_radioButton_comp"));
00204 m_radioButton_comp->setGeometry(QRect(20, 20, 91, 19));
00205 m_radioButton_comp->setChecked(true);
00206 m_radioButton_avg = new QRadioButton(groupBox);
00207 m_radioButton_avg->setObjectName(QString::fromUtf8("m_radioButton_avg"));
00208 m_radioButton_avg->setGeometry(QRect(20, 50, 121, 19));
00209 m_radioButton_avgTF = new QRadioButton(groupBox);
00210 m_radioButton_avgTF->setObjectName(QString::fromUtf8("m_radioButton_avgTF"));
00211 m_radioButton_avgTF->setGeometry(QRect(20, 140, 111, 19));
00212 m_radioButton_fh = new QRadioButton(groupBox);
00213 m_radioButton_fh->setObjectName(QString::fromUtf8("m_radioButton_fh"));
00214 m_radioButton_fh->setGeometry(QRect(20, 110, 61, 19));
00215 m_radioButton_compPh = new QRadioButton(groupBox);
00216 m_radioButton_compPh->setObjectName(QString::fromUtf8("m_radioButton_compPh"));
00217 m_radioButton_compPh->setGeometry(QRect(20, 80, 211, 22));
00218 horizontalLayout = new QWidget(m_centralWidget);
00219 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
00220 horizontalLayout->setGeometry(QRect(10, 590, 241, 101));
00221 hboxLayout1 = new QHBoxLayout(horizontalLayout);
00222 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00223 hboxLayout1->setContentsMargins(0, 0, 0, 0);
00224 m_slider_kd = new QSlider(horizontalLayout);
00225 m_slider_kd->setObjectName(QString::fromUtf8("m_slider_kd"));
00226 m_slider_kd->setMaximum(4096);
00227 m_slider_kd->setSingleStep(1);
00228 m_slider_kd->setOrientation(Qt::Vertical);
00229
00230 hboxLayout1->addWidget(m_slider_kd);
00231
00232 m_slider_ka = new QSlider(horizontalLayout);
00233 m_slider_ka->setObjectName(QString::fromUtf8("m_slider_ka"));
00234 m_slider_ka->setMaximum(4096);
00235 m_slider_ka->setSingleStep(1);
00236 m_slider_ka->setOrientation(Qt::Vertical);
00237
00238 hboxLayout1->addWidget(m_slider_ka);
00239
00240 m_slider_ks = new QSlider(horizontalLayout);
00241 m_slider_ks->setObjectName(QString::fromUtf8("m_slider_ks"));
00242 m_slider_ks->setMaximum(4096);
00243 m_slider_ks->setSingleStep(1);
00244 m_slider_ks->setOrientation(Qt::Vertical);
00245
00246 hboxLayout1->addWidget(m_slider_ks);
00247
00248 m_slider_kg = new QSlider(horizontalLayout);
00249 m_slider_kg->setObjectName(QString::fromUtf8("m_slider_kg"));
00250 m_slider_kg->setOrientation(Qt::Vertical);
00251
00252 hboxLayout1->addWidget(m_slider_kg);
00253
00254 label_4 = new QLabel(m_centralWidget);
00255 label_4->setObjectName(QString::fromUtf8("label_4"));
00256 label_4->setGeometry(QRect(60, 570, 71, 16));
00257 label_5 = new QLabel(m_centralWidget);
00258 label_5->setObjectName(QString::fromUtf8("label_5"));
00259 label_5->setGeometry(QRect(170, 570, 51, 16));
00260 label_6 = new QLabel(m_centralWidget);
00261 label_6->setObjectName(QString::fromUtf8("label_6"));
00262 label_6->setGeometry(QRect(110, 570, 61, 16));
00263 label_7 = new QLabel(m_centralWidget);
00264 label_7->setObjectName(QString::fromUtf8("label_7"));
00265 label_7->setGeometry(QRect(10, 570, 51, 16));
00266 m_button_tf = new QPushButton(m_centralWidget);
00267 m_button_tf->setObjectName(QString::fromUtf8("m_button_tf"));
00268 m_button_tf->setGeometry(QRect(280, 660, 211, 24));
00269 MainWindow->setCentralWidget(m_centralWidget);
00270 m_menuBar = new QMenuBar(MainWindow);
00271 m_menuBar->setObjectName(QString::fromUtf8("m_menuBar"));
00272 m_menuBar->setGeometry(QRect(0, 0, 1200, 19));
00273 m_menuFile = new QMenu(m_menuBar);
00274 m_menuFile->setObjectName(QString::fromUtf8("m_menuFile"));
00275 menuTransfer_Function = new QMenu(m_menuBar);
00276 menuTransfer_Function->setObjectName(QString::fromUtf8("menuTransfer_Function"));
00277 menuPresets = new QMenu(menuTransfer_Function);
00278 menuPresets->setObjectName(QString::fromUtf8("menuPresets"));
00279 MainWindow->setMenuBar(m_menuBar);
00280 m_statusBar = new QStatusBar(MainWindow);
00281 m_statusBar->setObjectName(QString::fromUtf8("m_statusBar"));
00282 MainWindow->setStatusBar(m_statusBar);
00283
00284 m_menuBar->addAction(m_menuFile->menuAction());
00285 m_menuBar->addAction(menuTransfer_Function->menuAction());
00286 m_menuFile->addAction(m_actionOpen);
00287 m_menuFile->addAction(m_actionClose);
00288 m_menuFile->addAction(m_actionQuit);
00289 menuTransfer_Function->addAction(m_actionLoadTF);
00290 menuTransfer_Function->addAction(m_actionSaveTF);
00291 menuTransfer_Function->addSeparator();
00292 menuTransfer_Function->addAction(menuPresets->menuAction());
00293 menuTransfer_Function->addAction(m_tfPreset0);
00294 menuPresets->addAction(m_tfPreset1);
00295 menuPresets->addAction(m_tfPreset2);
00296 menuPresets->addAction(m_tfPreset3);
00297
00298 retranslateUi(MainWindow);
00299 QObject::connect(m_actionQuit, SIGNAL(triggered()), MainWindow, SLOT(close()));
00300
00301 QMetaObject::connectSlotsByName(MainWindow);
00302 }
00303
00304 void retranslateUi(QMainWindow *MainWindow)
00305 {
00306 MainWindow->setWindowTitle(QApplication::translate("MainWindow", "Visualisierung LU", 0, QApplication::UnicodeUTF8));
00307 m_actionOpen->setText(QApplication::translate("MainWindow", "\303\226&ffnen", 0, QApplication::UnicodeUTF8));
00308 m_actionOpen->setShortcut(QApplication::translate("MainWindow", "Ctrl+O", 0, QApplication::UnicodeUTF8));
00309 m_actionQuit->setText(QApplication::translate("MainWindow", "&Beenden", 0, QApplication::UnicodeUTF8));
00310 m_actionClose->setText(QApplication::translate("MainWindow", "Schliessen", 0, QApplication::UnicodeUTF8));
00311 m_actionClose->setShortcut(QApplication::translate("MainWindow", "Ctrl+X", 0, QApplication::UnicodeUTF8));
00312 m_actionLoadTF->setText(QApplication::translate("MainWindow", "Laden", 0, QApplication::UnicodeUTF8));
00313 m_actionLoadTF->setShortcut(QApplication::translate("MainWindow", "Ctrl+L", 0, QApplication::UnicodeUTF8));
00314 m_actionSaveTF->setText(QApplication::translate("MainWindow", "Speichern", 0, QApplication::UnicodeUTF8));
00315 m_actionSaveTF->setShortcut(QApplication::translate("MainWindow", "Ctrl+S", 0, QApplication::UnicodeUTF8));
00316 m_tfPreset0->setText(QApplication::translate("MainWindow", "R\303\274cksetzen", 0, QApplication::UnicodeUTF8));
00317 m_tfPreset0->setShortcut(QApplication::translate("MainWindow", "Ctrl+R", 0, QApplication::UnicodeUTF8));
00318 m_tfPreset1->setText(QApplication::translate("MainWindow", "#1", 0, QApplication::UnicodeUTF8));
00319 m_tfPreset2->setText(QApplication::translate("MainWindow", "#2", 0, QApplication::UnicodeUTF8));
00320 m_tfPreset3->setText(QApplication::translate("MainWindow", "#3", 0, QApplication::UnicodeUTF8));
00321 l_y_axis->setText(QApplication::translate("MainWindow", "x-Achse", 0, QApplication::UnicodeUTF8));
00322 l_x_axis->setText(QApplication::translate("MainWindow", "z-Achse", 0, QApplication::UnicodeUTF8));
00323 l_z_axis->setText(QApplication::translate("MainWindow", "y-Achse", 0, QApplication::UnicodeUTF8));
00324 l_slider_x_axis->setText(QApplication::translate("MainWindow", "x-Achse", 0, QApplication::UnicodeUTF8));
00325 l_slider_y_axis->setText(QApplication::translate("MainWindow", "y-Achse", 0, QApplication::UnicodeUTF8));
00326 l_slider_z_axis->setText(QApplication::translate("MainWindow", "z-Achse", 0, QApplication::UnicodeUTF8));
00327 l_3DView->setText(QApplication::translate("MainWindow", "3D", 0, QApplication::UnicodeUTF8));
00328 l_slider_z_axis_2->setText(QApplication::translate("MainWindow", "Schrittweite", 0, QApplication::UnicodeUTF8));
00329 groupBox->setTitle(QApplication::translate("MainWindow", "Render-Modus", 0, QApplication::UnicodeUTF8));
00330 m_radioButton_mip->setText(QApplication::translate("MainWindow", "MIP", 0, QApplication::UnicodeUTF8));
00331 m_radioButton_comp->setText(QApplication::translate("MainWindow", "Composition", 0, QApplication::UnicodeUTF8));
00332 m_radioButton_avg->setText(QApplication::translate("MainWindow", "Average (X-Ray)", 0, QApplication::UnicodeUTF8));
00333 m_radioButton_avgTF->setText(QApplication::translate("MainWindow", "Average mit TF", 0, QApplication::UnicodeUTF8));
00334 m_radioButton_fh->setText(QApplication::translate("MainWindow", "First Hit", 0, QApplication::UnicodeUTF8));
00335 m_radioButton_compPh->setText(QApplication::translate("MainWindow", "Composition mit Phong-Shading", 0, QApplication::UnicodeUTF8));
00336 label_4->setText(QApplication::translate("MainWindow", "Ambient", 0, QApplication::UnicodeUTF8));
00337 label_5->setText(QApplication::translate("MainWindow", "Gloss", 0, QApplication::UnicodeUTF8));
00338 label_6->setText(QApplication::translate("MainWindow", "Specular", 0, QApplication::UnicodeUTF8));
00339 label_7->setText(QApplication::translate("MainWindow", "Diffuse", 0, QApplication::UnicodeUTF8));
00340 m_button_tf->setText(QApplication::translate("MainWindow", "Transferfunktion einblenden", 0, QApplication::UnicodeUTF8));
00341 m_menuFile->setTitle(QApplication::translate("MainWindow", "&Datei", 0, QApplication::UnicodeUTF8));
00342 menuTransfer_Function->setTitle(QApplication::translate("MainWindow", "Transferfunktion", 0, QApplication::UnicodeUTF8));
00343 menuPresets->setTitle(QApplication::translate("MainWindow", "Voreinstellungen", 0, QApplication::UnicodeUTF8));
00344 }
00345
00346 };
00347
00348 namespace Ui {
00349 class MainWindow: public Ui_MainWindow {};
00350 }
00351
00352 #endif // UI_MAINWINDOW_H