GpuThesis::FireFactory Class Reference

#include <Fire3dSimulator.h>

List of all members.

Public Member Functions

 FireFactory (bool slice)
std::auto_ptr< OpenGL::Flat3dTextureOperationcreateFlat3dTextureOperation (const OpenGL::Flat3dTextureSet *textures, OpenGL::CgProgram *interior)


Detailed Description

The FireFactory class is an abstract factory used to create fire specific instances of Flat3dTextureOperation to be used in a Fire3dSimulator. The abstract factory can separate between full 3d simulation and slice (volumetric extrusion) simulation.


Constructor & Destructor Documentation

GpuThesis::FireFactory::FireFactory bool  slice  ) 
 

Constructs a new FireFactory for either a full 3d simulation or a slice (volumetric extrusion) simulation.

Parameters:
slice if the FireFactory should be used with a slice simulation.


Member Function Documentation

std::auto_ptr< OpenGL::Flat3dTextureOperation > GpuThesis::FireFactory::createFlat3dTextureOperation const OpenGL::Flat3dTextureSet textures,
OpenGL::CgProgram interior
 

Creates a new instance of Flat3dTextureOperation.

Parameters:
textures the texture set associated with the created instance.
interior the interior cg program encapsulated by the created instance.
Returns:
an auto pointer to the created instance.


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