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

ParticleShaderCurvature Class Reference

#include <ParticleShaderCurvature.h>

Inheritance diagram for ParticleShaderCurvature:

Inheritance graph
[legend]
Collaboration diagram for ParticleShaderCurvature:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MAKE_PARTICLESTUFF_NAME ()
 ParticleShaderCurvature (Particles *ps=NULL)
virtual void attachAttributes ()
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.

char * tip ()
 Returns a tool-tip for the ParticleStuff.

char * qtip (int)
 Returns a tool-tip for the parameter i.


Protected Attributes

ImplicitInterrogatorimp_int
int kind
double scale

Constructor & Destructor Documentation

ParticleShaderCurvature::ParticleShaderCurvature Particles ps = NULL  ) 
 

Definition at line 6 of file ParticleShaderCurvature.cpp.

References imp_int, kind, ParticleShader::material, and scale.


Member Function Documentation

void ParticleShaderCurvature::attachAttributes  )  [virtual]
 

Reimplemented from ParticleShader.

Definition at line 15 of file ParticleShaderCurvature.cpp.

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

void ParticleShaderCurvature::drawShape int  i  )  [virtual]
 

each shader simply make a shape call for each particle

Reimplemented from ParticleShader.

Definition at line 56 of file ParticleShaderCurvature.cpp.

References Implicit::gaussianCurvature(), ImplicitInterrogator::getImplicit(), ParticlePosition::getPosition(), imp_int, kind, ParticleShader::material, Implicit::meanCurvature(), ParticleShader::position, scale, ParticleMaterial::setDiffuseBack(), and ParticleMaterial::setDiffuseFront().

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

Get the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 27 of file ParticleShaderCurvature.cpp.

References kind, and scale.

ParticleShaderCurvature::MAKE_PARTICLESTUFF_NAME  ) 
 

int ParticleShaderCurvature::qlen  )  [virtual]
 

parameters

Reimplemented from ParticleStuff.

Definition at line 22 of file ParticleShaderCurvature.cpp.

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

Get the names of the parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 39 of file ParticleShaderCurvature.cpp.

char * ParticleShaderCurvature::qtip int   )  [virtual]
 

Returns a tool-tip for the parameter i.

Reimplemented from ParticleStuff.

Definition at line 45 of file ParticleShaderCurvature.cpp.

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

Set particle stuff parameters.

Defaults to no parameters.

Reimplemented from ParticleStuff.

Definition at line 33 of file ParticleShaderCurvature.cpp.

References kind, and scale.

char* ParticleShaderCurvature::tip  )  [inline, virtual]
 

Returns a tool-tip for the ParticleStuff.

Reimplemented from ParticleStuff.

Definition at line 38 of file ParticleShaderCurvature.h.


Member Data Documentation

ImplicitInterrogator* ParticleShaderCurvature::imp_int [protected]
 

Definition at line 19 of file ParticleShaderCurvature.h.

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

int ParticleShaderCurvature::kind [protected]
 

Definition at line 20 of file ParticleShaderCurvature.h.

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

double ParticleShaderCurvature::scale [protected]
 

Definition at line 21 of file ParticleShaderCurvature.h.

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


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