Eulerian Smoke Simulation on the GPU
|
A class that implements a main window widget. More...
#include <MainWindow.h>
Public Slots | |
void | setIsoLevel () |
Sets the iso level for the mesh. | |
void | setLightPosition () |
Sets the light's position. | |
void | setLightAttenuation () |
Sets the light's attenuation. | |
void | setLightColour () |
Sets the light's colour. | |
void | setLightSpecColour () |
Sets the light's specular colour. | |
void | setMeshColour () |
Sets the mesh's colour. | |
void | setImpulsePosition () |
Sets the impulse position. | |
void | setBuoyancyDirection () |
Sets the buoyancy force direction. | |
void | setNoiseVariance () |
Sets the periodic noise variance. | |
void | setNoiseDriveFunc () |
Sets the periodic noise driving function. | |
void | toggleSimulationButtonText () |
Toggles the simulation button's text. | |
Public Member Functions | |
MainWindow (QWidget *parent=0) | |
Constructor. | |
~MainWindow () | |
Destructor. | |
Protected Member Functions | |
void | keyPressEvent (QKeyEvent *_event) |
Overrides the keyPressEvent inherited from QObject in order to handle key presses. |
A class that implements a main window widget.
MainWindow::MainWindow | ( | QWidget * | parent = 0 | ) | [explicit] |
Constructor.
[in] | _parent | the main window is the root object (parent = 0) |
void MainWindow::keyPressEvent | ( | QKeyEvent * | _event | ) | [protected] |
Overrides the keyPressEvent inherited from QObject in order to handle key presses.
[in] | _event | the event to process |