#include <ParticleShaderChain.h>
Inheritance diagram for ParticleShaderChain:


Public Member Functions | |
| MAKE_PARTICLESTUFF_NAME () | |
| ParticleShaderChain (Particles *ps=NULL) | |
| void | findChains () |
| void | drawGradientField () |
| 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. | |
Protected Attributes | |
| double | lineWidth |
| double | percentLength |
| bool | autoUpdate |
| std::vector< Neighbor > | chains |
|
|
Definition at line 8 of file ParticleShaderChain.cpp. References autoUpdate, lineWidth, and percentLength. |
|
|
each shader knows how to draw all the particles based on its attributes
Reimplemented from ParticleShader. Definition at line 42 of file ParticleShaderChain.cpp. References autoUpdate, chains, findChains(), ParticlePosition::getPosition(), lineWidth, ParticleShader::position, ParticleStuff::ps, and Particles::size(). |
|
|
|
|
|
Definition at line 67 of file ParticleShaderChain.cpp. References chains, ParticlePosition::getPosition(), ParticleShaderChain::Neighbor::n1, ParticleShaderChain::Neighbor::n2, percentLength, ParticleShader::position, ParticleStuff::ps, and Particles::size(). Referenced by SingularityAdhesion::cleanup(), and draw(). |
|
|
Get the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 21 of file ParticleShaderChain.cpp. References autoUpdate, lineWidth, and percentLength. |
|
|
|
|
|
parameters
Reimplemented from ParticleStuff. Definition at line 16 of file ParticleShaderChain.cpp. |
|
|
Get the names of the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 35 of file ParticleShaderChain.cpp. |
|
|
Set particle stuff parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 28 of file ParticleShaderChain.cpp. References autoUpdate, lineWidth, and percentLength. |
|
|
Definition at line 29 of file ParticleShaderChain.h. Referenced by draw(), getq(), ParticleShaderChain(), and setq(). |
|
|
Definition at line 30 of file ParticleShaderChain.h. Referenced by draw(), and findChains(). |
|
|
Definition at line 28 of file ParticleShaderChain.h. Referenced by draw(), getq(), ParticleShaderChain(), and setq(). |
|
|
Definition at line 28 of file ParticleShaderChain.h. Referenced by findChains(), getq(), ParticleShaderChain(), and setq(). |
1.3.4