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

ParticleShaderSphere Class Reference

#include <ParticleShaderSphere.h>

Inheritance diagram for ParticleShaderSphere:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderSphere:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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.


Public Attributes

GLUquadricObj * quad
double radius
int sides

Constructor & Destructor Documentation

ParticleShaderSphere::ParticleShaderSphere Particles ps = NULL  ) 
 

Definition at line 6 of file ParticleShaderSphere.cpp.

References quad, radius, and sides.

ParticleShaderSphere::~ParticleShaderSphere  )  [virtual]
 

Definition at line 14 of file ParticleShaderSphere.cpp.

References quad.


Member Function Documentation

void ParticleShaderSphere::drawShape int  i  )  [virtual]
 

each shader simply make a shape call for each particle

Reimplemented from ParticleShader.

Definition at line 42 of file ParticleShaderSphere.cpp.

References quad, radius, and sides.

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

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 24 of file ParticleShaderSphere.cpp.

References radius, and sides.

ParticleShaderSphere::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderSphere::qlen  )  [virtual]
 

parameters

Reimplemented from ParticleStuff.

Definition at line 19 of file ParticleShaderSphere.cpp.

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

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 36 of file ParticleShaderSphere.cpp.

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

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 30 of file ParticleShaderSphere.cpp.

References radius, and sides.


Member Data Documentation

GLUquadricObj* ParticleShaderSphere::quad
 

Definition at line 17 of file ParticleShaderSphere.h.

Referenced by drawShape(), ParticleShaderSphere(), and ~ParticleShaderSphere().

double ParticleShaderSphere::radius
 

Definition at line 18 of file ParticleShaderSphere.h.

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

int ParticleShaderSphere::sides
 

Definition at line 19 of file ParticleShaderSphere.h.

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


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