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


Definition at line 23 of file SilhouetteAdhesion.h.
Public Member Functions | |
| MAKE_PARTICLESTUFF_NAME () | |
| SilhouetteAdhesion (Particles *ps=NULL, std::string name=std::string("SilhouetteAdhesion")) | |
| Creates a surface adhesion attribute for Particles p. | |
| 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. | |
| void | attachAttributes () |
| Attach all the attributes needed by the behavior. | |
| void | applyForce () |
| Apply the silhouette adhesion constraint. | |
| void | setCamera (gmVector3 &pos) |
| set camera give the gui a way to give new camera location | |
Public Attributes | |
| gmVector3 | camera |
| bool | cameraMoved |
| double | feedback |
| ImplicitInterrogator * | imp_int |
| Interrogation surface. | |
| ParticleOrientation * | p_orient |
| Particle orientations. | |
|
||||||||||||
|
Creates a surface adhesion attribute for Particles p.
Definition at line 11 of file SilhouetteAdhesion.cpp. |
|
|
Apply the silhouette adhesion constraint.
Reimplemented from ParticleBehavior. Definition at line 55 of file SilhouetteAdhesion.cpp. References camera, dot(), feedback, ImplicitInterrogator::getImplicit(), ParticlePosition::getPosition(), Implicit::grad(), Implicit::hess(), imp_int, ParticleBehavior::position, ParticleStuff::ps, Particles::size(), ParticleVelocity::v, and ParticleBehavior::velocity. |
|
|
Attach all the attributes needed by the behavior. Defaults to a nop. Reimplemented from ParticleBehavior. Definition at line 18 of file SilhouetteAdhesion.cpp. References ParticleStuff::attachAttribute(), ParticleBehavior::attachAttributes(), imp_int, and p_orient. |
|
|
Get the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 83 of file SilhouetteAdhesion.cpp. References feedback. |
|
|
|
|
|
parameters
Reimplemented from ParticleStuff. Definition at line 79 of file SilhouetteAdhesion.cpp. |
|
|
Get the names of the parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 91 of file SilhouetteAdhesion.cpp. |
|
|
set camera give the gui a way to give new camera location
Definition at line 70 of file SilhouetteAdhesion.cpp. References camera, and cameraMoved. |
|
|
Set particle stuff parameters. Defaults to no parameters. Reimplemented from ParticleStuff. Definition at line 87 of file SilhouetteAdhesion.cpp. References feedback. |
|
|
Definition at line 30 of file SilhouetteAdhesion.h. Referenced by applyForce(), ParticleShaderStroke::draw(), SilhouetteFate::fiftyPercent(), setCamera(), and SilhouetteAdhesion(). |
|
|
Definition at line 31 of file SilhouetteAdhesion.h. Referenced by SilhouetteFate::cleanup(), and setCamera(). |
|
|
Definition at line 32 of file SilhouetteAdhesion.h. Referenced by applyForce(), getq(), setq(), and SilhouetteAdhesion(). |
|
|
Interrogation surface.
Definition at line 34 of file SilhouetteAdhesion.h. Referenced by applyForce(), and attachAttributes(). |
|
|
Particle orientations.
Definition at line 36 of file SilhouetteAdhesion.h. Referenced by attachAttributes(). |
1.3.4