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

ParticleShaderCylinder Class Reference

#include <ParticleShaderCylinder.h>

Inheritance diagram for ParticleShaderCylinder:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderCylinder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 ParticleShaderCylinder (Particles *ps=NULL)
virtual ~ParticleShaderCylinder ()
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.


Protected Attributes

GLUquadricObj * quad
double base
double top
double height
int sides
int capped

Constructor & Destructor Documentation

ParticleShaderCylinder::ParticleShaderCylinder Particles ps = NULL  ) 
 

Definition at line 5 of file ParticleShaderCylinder.cpp.

References base, capped, height, quad, sides, and top.

ParticleShaderCylinder::~ParticleShaderCylinder  )  [virtual]
 

Definition at line 16 of file ParticleShaderCylinder.cpp.

References quad.


Member Function Documentation

void ParticleShaderCylinder::drawShape int  i  )  [virtual]
 

each shader simply make a shape call for each particle

Reimplemented from ParticleShader.

Definition at line 50 of file ParticleShaderCylinder.cpp.

References base, capped, height, quad, sides, and top.

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

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 23 of file ParticleShaderCylinder.cpp.

References base, capped, height, sides, and top.

ParticleShaderCylinder::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderCylinder::qlen  )  [virtual]
 

parameters

Reimplemented from ParticleStuff.

Definition at line 21 of file ParticleShaderCylinder.cpp.

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

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 41 of file ParticleShaderCylinder.cpp.

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

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 32 of file ParticleShaderCylinder.cpp.

References base, capped, height, sides, and top.


Member Data Documentation

double ParticleShaderCylinder::base [protected]
 

Definition at line 18 of file ParticleShaderCylinder.h.

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

int ParticleShaderCylinder::capped [protected]
 

Definition at line 22 of file ParticleShaderCylinder.h.

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

double ParticleShaderCylinder::height [protected]
 

Definition at line 20 of file ParticleShaderCylinder.h.

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

GLUquadricObj* ParticleShaderCylinder::quad [protected]
 

Definition at line 17 of file ParticleShaderCylinder.h.

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

int ParticleShaderCylinder::sides [protected]
 

Definition at line 21 of file ParticleShaderCylinder.h.

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

double ParticleShaderCylinder::top [protected]
 

Definition at line 19 of file ParticleShaderCylinder.h.

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


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