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


Public Member Functions | |
| MAKE_PARTICLESTUFF_NAME () | |
| ParticleShaderStroke (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 |
| double | curve |
| double | inkDarkness |
| double | lineTaper |
| bool | autoUpdate |
| std::vector< Neighbor > | chains |
|
|
Definition at line 8 of file ParticleShaderStroke.cpp. References autoUpdate, curve, inkDarkness, lineTaper, lineWidth, and percentLength. |
|
|
each shader knows how to draw all the particles based on its attributes
Reimplemented from ParticleShader. Definition at line 54 of file ParticleShaderStroke.cpp. References autoUpdate, SilhouetteAdhesion::camera, chains, curve, findChains(), Particles::getBehavior(), ParticlePosition::getPosition(), inkDarkness, lineTaper, lineWidth, ParticleOrientation::n, ParticleShader::orient, ParticleShader::position, ParticleStuff::ps, and Particles::size(). |
|
|
|
|
|
Definition at line 125 of file ParticleShaderStroke.cpp. References chains, ParticlePosition::getPosition(), ParticleShaderStroke::Neighbor::n1, ParticleShaderStroke::Neighbor::n2, percentLength, ParticleShader::position, ParticleStuff::ps, and Particles::size(). Referenced by draw(). |
|
|
Get the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 24 of file ParticleShaderStroke.cpp. References autoUpdate, curve, inkDarkness, lineTaper, lineWidth, and percentLength. |
|
|
|
|
|
parameters
Reimplemented from ParticleStuff. Definition at line 19 of file ParticleShaderStroke.cpp. |
|
|
Get the names of the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 44 of file ParticleShaderStroke.cpp. |
|
|
Set particle stuff parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 34 of file ParticleShaderStroke.cpp. References autoUpdate, curve, inkDarkness, lineTaper, lineWidth, and percentLength. |
|
|
Definition at line 29 of file ParticleShaderStroke.h. Referenced by draw(), getq(), ParticleShaderStroke(), and setq(). |
|
|
Definition at line 30 of file ParticleShaderStroke.h. Referenced by draw(), and findChains(). |
|
|
Definition at line 28 of file ParticleShaderStroke.h. Referenced by draw(), getq(), ParticleShaderStroke(), and setq(). |
|
|
Definition at line 28 of file ParticleShaderStroke.h. Referenced by draw(), getq(), ParticleShaderStroke(), and setq(). |
|
|
Definition at line 28 of file ParticleShaderStroke.h. Referenced by draw(), getq(), ParticleShaderStroke(), and setq(). |
|
|
Definition at line 28 of file ParticleShaderStroke.h. Referenced by draw(), getq(), ParticleShaderStroke(), and setq(). |
|
|
Definition at line 28 of file ParticleShaderStroke.h. Referenced by findChains(), getq(), ParticleShaderStroke(), and setq(). |
1.3.4