Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

ParticleShaderConstMaterial Class Reference

#include <ParticleShaderConstMaterial.h>

Inheritance diagram for ParticleShaderConstMaterial:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderConstMaterial:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 ParticleShaderConstMaterial (Particles *ps=NULL)
virtual void drawShape (int i)
 each shader simply make a shape call for each particle

int qlen ()
 Returns length of particle stuff parameters.

void getq (double *q)
 Get the parameters.

void setq (double *q)
 Set particle stuff parameters.

void qname (char **qn)
 Get the names of the parameters.


Protected Attributes

gmVector4 diffuseFront
gmVector4 diffuseBack
gmVector4 color

Constructor & Destructor Documentation

ParticleShaderConstMaterial::ParticleShaderConstMaterial Particles ps = NULL  ) 
 

Definition at line 6 of file ParticleShaderConstMaterial.cpp.

References color, diffuseBack, and diffuseFront.


Member Function Documentation

void ParticleShaderConstMaterial::drawShape int  i  )  [virtual]
 

each shader simply make a shape call for each particle

Reimplemented from ParticleShader.

Definition at line 15 of file ParticleShaderConstMaterial.cpp.

References color, ParticleMaterial::color, diffuseBack, diffuseFront, ParticleShader::material, ParticleMaterial::setDiffuseBack(), and ParticleMaterial::setDiffuseFront().

void ParticleShaderConstMaterial::getq double *  q  )  [virtual]
 

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 26 of file ParticleShaderConstMaterial.cpp.

References color, diffuseBack, and diffuseFront.

ParticleShaderConstMaterial::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderConstMaterial::qlen  )  [virtual]
 

Returns length of particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 24 of file ParticleShaderConstMaterial.cpp.

void ParticleShaderConstMaterial::qname char **  qn  )  [virtual]
 

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 38 of file ParticleShaderConstMaterial.cpp.

void ParticleShaderConstMaterial::setq double *  q  )  [virtual]
 

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 32 of file ParticleShaderConstMaterial.cpp.

References color, diffuseBack, and diffuseFront.


Member Data Documentation

gmVector4 ParticleShaderConstMaterial::color [protected]
 

Definition at line 19 of file ParticleShaderConstMaterial.h.

Referenced by drawShape(), getq(), ParticleShaderConstMaterial(), and setq().

gmVector4 ParticleShaderConstMaterial::diffuseBack [protected]
 

Definition at line 18 of file ParticleShaderConstMaterial.h.

Referenced by drawShape(), getq(), ParticleShaderConstMaterial(), and setq().

gmVector4 ParticleShaderConstMaterial::diffuseFront [protected]
 

Definition at line 17 of file ParticleShaderConstMaterial.h.

Referenced by drawShape(), getq(), ParticleShaderConstMaterial(), and setq().


The documentation for this class was generated from the following files:
Generated on Mon Jun 28 15:02:51 2004 for Advanced Surface Library by doxygen 1.3.4