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

ParticleShaderCluster Class Reference

#include <ParticleShaderCluster.h>

Inheritance diagram for ParticleShaderCluster:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderCluster:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 ParticleShaderCluster (Particles *ps=NULL)
virtual void draw ()
 each shader knows how to draw all the particles based on its attributes

int qlen ()
 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.

void attachAttributes ()

Public Attributes

double lineWidth
int useMaterial
int drawOutline
SurfaceInterrogatorsurInt

Constructor & Destructor Documentation

ParticleShaderCluster::ParticleShaderCluster Particles ps = NULL  ) 
 

Definition at line 8 of file ParticleShaderCluster.cpp.

References drawOutline, lineWidth, and useMaterial.


Member Function Documentation

void ParticleShaderCluster::attachAttributes  )  [virtual]
 

Reimplemented from ParticleShader.

Definition at line 16 of file ParticleShaderCluster.cpp.

References ParticleStuff::attachAttribute(), ParticleShader::attachAttributes(), and surInt.

void ParticleShaderCluster::draw  )  [virtual]
 

each shader knows how to draw all the particles based on its attributes

Reimplemented from ParticleShader.

Definition at line 50 of file ParticleShaderCluster.cpp.

References ClusterOpenMesh, drawOutline, ClusterMesh::mesh, SurfaceInterrogator::surface, surInt, and useMaterial.

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

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 29 of file ParticleShaderCluster.cpp.

References drawOutline, lineWidth, and useMaterial.

ParticleShaderCluster::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderCluster::qlen  )  [virtual]
 

parameters

Reimplemented from ParticleStuff.

Definition at line 24 of file ParticleShaderCluster.cpp.

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

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 43 of file ParticleShaderCluster.cpp.

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

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 36 of file ParticleShaderCluster.cpp.

References drawOutline, lineWidth, and useMaterial.


Member Data Documentation

int ParticleShaderCluster::drawOutline
 

Definition at line 23 of file ParticleShaderCluster.h.

Referenced by draw(), getq(), ParticleShaderCluster(), and setq().

double ParticleShaderCluster::lineWidth
 

Definition at line 21 of file ParticleShaderCluster.h.

Referenced by getq(), ParticleShaderCluster(), and setq().

SurfaceInterrogator* ParticleShaderCluster::surInt
 

Definition at line 32 of file ParticleShaderCluster.h.

Referenced by attachAttributes(), and draw().

int ParticleShaderCluster::useMaterial
 

Definition at line 22 of file ParticleShaderCluster.h.

Referenced by draw(), getq(), ParticleShaderCluster(), and setq().


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