Eulerian Smoke Simulation on the GPU
include/MainWindow.h
Go to the documentation of this file.
00001 #ifndef __MAIN_WINDOW_H__
00002 #define __MAIN_WINDOW_H__
00003 
00004 //-----------------------------------------------------------
00007 //-----------------------------------------------------------
00008 
00009 #include <QMainWindow>
00010 #include "GLWindow.h"
00011 
00012 namespace Ui
00013 {
00014     class MainWindow;
00015 }
00016 
00024 class MainWindow : public QMainWindow
00025 {
00026 Q_OBJECT
00027 
00028 public:
00031   explicit MainWindow(
00032                       QWidget *parent = 0
00033                      );
00035   ~MainWindow();
00036 
00037 public slots:
00039   void setIsoLevel();
00040 
00042   void setLightPosition();
00043 
00045   void setLightAttenuation();
00046 
00048   void setLightColour();
00049 
00051   void setLightSpecColour();
00052 
00054   void setMeshColour();
00055 
00057   void setImpulsePosition();
00058 
00060   void setBuoyancyDirection();
00061 
00063   void setNoiseVariance();
00064 
00066   void setNoiseDriveFunc();
00067 
00069   void toggleSimulationButtonText();
00070 
00071 protected:
00075   void keyPressEvent(
00076                       QKeyEvent *_event
00077                     );
00078 
00079 private:
00081   Ui::MainWindow* m_ui;
00083   GLWindow* m_gl;
00084 };
00085 
00086 #endif // __MAIN_WINDOW_H__
 All Classes Files Functions Variables