• Main Page
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

mainwindow.h

Go to the documentation of this file.
00001 #ifndef MAINWINDOW_H
00002 #define MAINWINDOW_H
00003 
00004 #include <QMainWindow>
00005 
00006 #include "gradients.h"
00007 #include "volumerenderer.h"
00008 #include "colorlabel.h"
00009 #include "slicingview.h"
00010 #include "Volume.h"
00011 #include "renderingoptions.h"
00012 
00013 namespace Ui {
00014     class MainWindow;
00015 }
00016 
00017 
00022 class MainWindow : public QMainWindow
00023 {
00024     Q_OBJECT
00025 
00026 public:
00032     explicit MainWindow(QWidget *parent = 0);
00037     ~MainWindow();
00038 
00039 public slots:
00044     void setDefault();
00045 
00046 private slots:
00052    void on_actionBild_speichern_triggered();
00053    void on_slicingScrollBar_valueChanged(int value);
00059     void on_slicingComboBox_currentIndexChanged(int index);
00064     void on_actionBeenden_triggered();
00069     void on_actionDatensatz_laden_triggered();
00070 
00071 private:
00076     void reset_slicing_scrollbar();
00081     void update_slicing_view();
00082 
00083     Ui::MainWindow *ui; 
00085     Volume* volume; 
00086     RenderingOptions options;
00087 
00088     GradientEditor *m_gradient_editor; 
00089     VolumeRenderer *m_volume_renderer; 
00091     ColorLabel *m_lightColorLabel, *m_ambientColorLabel, *m_diffuseColorLabel, *m_specularColorLabel; 
00093 private slots:
00094     void updateRenderingOptions();
00095     void updateTransferFunction();
00096 };
00097 
00098 #endif // MAINWINDOW_H
00099 

Generated on Mon Dec 6 2010 12:10:16 for LU Visualisierung WS2010 - Beispiel 1 by  doxygen 1.7.2