GpuThesis::ParticleSystem3d Class Reference

#include <ParticleSystem.h>

Inheritance diagram for GpuThesis::ParticleSystem3d:

GpuThesis::ParticleSystem GpuThesis::Runnable List of all members.

Public Member Functions

 ParticleSystem3d (unsigned int numParticles, const std::string &particleSplat, float splatThreshold, OpenGL::Flat3dTextureSet *fluidSet, unsigned int fluidColors, unsigned int velocityTexture, float voxelSize, float domainScale, bool useVBO=true)

Detailed Description

The class ParticleSystem3d is a particle system used to visualize the results from a full 3d fluid simulation.


Constructor & Destructor Documentation

GpuThesis::ParticleSystem3d::ParticleSystem3d unsigned int  numParticles,
const std::string &  particleSplat,
float  splatThreshold,
OpenGL::Flat3dTextureSet fluidSet,
unsigned int  fluidColors,
unsigned int  velocityTexture,
float  voxelSize,
float  domainScale,
bool  useVBO = true
 

Constructs a particle system used to visualize the results from a full 3d fluid simulation. The particle velocities are determined by the fluid velocity texture, and the particle colors by the fluid color texture.

Parameters:
numParticles the number of particles in the particle system.
particleSplat the image to be used as texture for each particle.
splatThreshold the lowest intensity of the splat that should be visible.
fluidSet the texture set containing the fluid color and fluid velocity texture.
fluidColors the identifier of the fluid color texture.
velocityTexture the identifier of the fluid velocity texture.
voxelSize the size of the voxels in the domain where the particle system operates.
domainScale the scale of the particle system domain.
useVBO if the implementation shall use Vertex Buffer Object.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 08:42:51 2006 for GPU Thesis by  doxygen 1.4.6-NO