#include <Fluid3dSimulator.h>
Inheritance diagram for GpuThesis::Fluid3dSimulator:
Public Member Functions | |
Fluid3dSimulator (unsigned int width, unsigned int height, unsigned int depth, Fluid3dSolver::FluidFactory *factory, Fluid3dSolver::BoundaryType densityBoundary, Fluid3dSolver::BoundaryType velocityBoundary) | |
OpenGL::Flat3dTextureSet * | getFlat3dTextureSet () |
unsigned int | getDensityTexture () const |
unsigned int | getDensityForceTexture () const |
unsigned int | getVelocityTexture () const |
unsigned int | getVelocityForceTexture () const |
Private Member Functions | |
void | doRun (float timestep) |
void | doReset () |
|
Create a fluid simulation at the given computation dimensions.
|
|
Implemented by subclasses. Implements GpuThesis::Runnable. |
|
Implemented by subclasses.
Implements GpuThesis::Runnable. |
|
Get the identifier of the density force texture.
|
|
Get the identifier of the density texture.
|
|
Get the Flat3dTextureSet instance used.
|
|
Get the identifier of the velocity force texture.
|
|
Get the identifier of the velocity texture.
|