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

ParticleShaderDisk Class Reference

#include <ParticleShaderDisk.h>

Inheritance diagram for ParticleShaderDisk:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderDisk:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 ParticleShaderDisk (Particles *ps=NULL)
virtual void attachAttributes ()
virtual ~ParticleShaderDisk ()
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 radius
double scale
int sides
AdaptiveRepulsionDataARData
ImplicitInterrogatorimp_int

Constructor & Destructor Documentation

ParticleShaderDisk::ParticleShaderDisk Particles ps = NULL  ) 
 

Definition at line 6 of file ParticleShaderDisk.cpp.

References imp_int, quad, radius, scale, and sides.

ParticleShaderDisk::~ParticleShaderDisk  )  [virtual]
 

Definition at line 80 of file ParticleShaderDisk.cpp.

References quad.


Member Function Documentation

void ParticleShaderDisk::attachAttributes  )  [virtual]
 

Reimplemented from ParticleShader.

Definition at line 16 of file ParticleShaderDisk.cpp.

References ARData, ParticleStuff::attachAttribute(), ParticleShader::attachAttributes(), and imp_int.

void ParticleShaderDisk::drawShape int  i  )  [virtual]
 

each shader simply make a shape call for each particle

Reimplemented from ParticleShader.

Definition at line 47 of file ParticleShaderDisk.cpp.

References ARData, ImplicitInterrogator::getImplicit(), ParticlePosition::getPosition(), imp_int, Implicit::meanCurvature(), ParticleShader::position, quad, AdaptiveRepulsionData::r, radius, scale, and sides.

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

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 29 of file ParticleShaderDisk.cpp.

References scale, and sides.

ParticleShaderDisk::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderDisk::qlen  )  [virtual]
 

parameters

Reimplemented from ParticleStuff.

Definition at line 24 of file ParticleShaderDisk.cpp.

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

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 41 of file ParticleShaderDisk.cpp.

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

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 35 of file ParticleShaderDisk.cpp.

References scale, and sides.


Member Data Documentation

AdaptiveRepulsionData* ParticleShaderDisk::ARData [protected]
 

Definition at line 24 of file ParticleShaderDisk.h.

Referenced by attachAttributes(), and drawShape().

ImplicitInterrogator* ParticleShaderDisk::imp_int [protected]
 

Definition at line 26 of file ParticleShaderDisk.h.

Referenced by attachAttributes(), drawShape(), and ParticleShaderDisk().

GLUquadricObj* ParticleShaderDisk::quad [protected]
 

Definition at line 18 of file ParticleShaderDisk.h.

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

double ParticleShaderDisk::radius [protected]
 

Definition at line 19 of file ParticleShaderDisk.h.

Referenced by drawShape(), and ParticleShaderDisk().

double ParticleShaderDisk::scale [protected]
 

Definition at line 20 of file ParticleShaderDisk.h.

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

int ParticleShaderDisk::sides [protected]
 

Definition at line 21 of file ParticleShaderDisk.h.

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


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