|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use VerletParticle | |
---|---|
toxi.physics | |
toxi.physics.behaviors | |
toxi.physics.constraints |
Uses of VerletParticle in toxi.physics |
---|
Fields in toxi.physics declared as VerletParticle | |
---|---|
VerletParticle |
VerletSpring.a
Spring end points / particles |
VerletParticle |
VerletSpring.b
Spring end points / particles |
Fields in toxi.physics with type parameters of type VerletParticle | |
---|---|
java.util.List<VerletParticle> |
VerletPhysics.particles
List of particles (Vec3D subclassed) |
java.util.List<VerletParticle> |
ParticleString.particles
|
Methods in toxi.physics that return VerletParticle | |
---|---|
VerletParticle |
VerletParticle.addBehavior(ParticleBehavior behavior)
|
VerletParticle |
VerletParticle.addBehavior(ParticleBehavior behavior,
float timeStep)
|
VerletParticle |
VerletParticle.addConstraint(ParticleConstraint c)
Adds the given constraint implementation to the list of constraints applied to this particle at each time step. |
VerletParticle |
VerletParticle.addForce(toxi.geom.Vec3D f)
|
VerletParticle |
VerletParticle.addVelocity(toxi.geom.Vec3D v)
|
VerletParticle |
VerletParticle.clearConstraints()
Removes any currently applied constraints from this particle. |
VerletParticle |
VerletParticle.clearForce()
|
VerletParticle |
VerletParticle.clearVelocity()
|
VerletParticle |
ParticleString.getHead()
Returns the first particle of the string. |
VerletParticle |
ParticleString.getTail()
Returns last particle of the string. |
VerletParticle |
VerletParticle.lock()
Locks/immobilizes particle in space |
VerletParticle |
VerletParticle.scaleVelocity(float scl)
|
VerletParticle |
VerletParticle.setPreviousPosition(toxi.geom.Vec3D p)
|
VerletParticle |
VerletParticle.unlock()
Unlocks particle again |
Methods in toxi.physics that return types with arguments of type VerletParticle | |
---|---|
java.util.List<VerletParticle> |
ParticlePath.createParticles(VerletPhysics physics,
int subDiv,
float step,
float mass)
Creates particles along the spline at the fixed interval given. |
Methods in toxi.physics with parameters of type VerletParticle | |
---|---|
VerletPhysics |
VerletPhysics.addParticle(VerletParticle p)
Adds a particle to the list |
boolean |
VerletPhysics.removeParticle(VerletParticle p)
Removes a particle from the simulation. |
Method parameters in toxi.physics with type arguments of type VerletParticle | |
---|---|
static void |
VerletPhysics.addConstraintToAll(ParticleConstraint c,
java.util.List<VerletParticle> list)
|
static void |
VerletPhysics.removeConstraintFromAll(ParticleConstraint c,
java.util.List<VerletParticle> list)
|
Constructors in toxi.physics with parameters of type VerletParticle | |
---|---|
VerletConstrainedSpring(VerletParticle a,
VerletParticle b,
float len,
float str)
|
|
VerletConstrainedSpring(VerletParticle a,
VerletParticle b,
float len,
float str,
float limit)
|
|
VerletMinDistanceSpring(VerletParticle a,
VerletParticle b,
float len,
float str)
|
|
VerletParticle(VerletParticle p)
Creates a copy of the passed in particle |
|
VerletSpring(VerletParticle a,
VerletParticle b,
float len,
float str)
|
Constructor parameters in toxi.physics with type arguments of type VerletParticle | |
---|---|
ParticleString(VerletPhysics physics,
java.util.List<VerletParticle> plist,
float strength)
Takes a list of already created particles connects them into a continuous string using springs. |
Uses of VerletParticle in toxi.physics.behaviors |
---|
Methods in toxi.physics.behaviors with parameters of type VerletParticle | |
---|---|
void |
ParticleBehavior.apply(VerletParticle p)
Applies the constraint to the passed in particle. |
void |
ConstantForceBehavior.apply(VerletParticle p)
|
void |
AttractionBehavior.apply(VerletParticle p)
|
Uses of VerletParticle in toxi.physics.constraints |
---|
Methods in toxi.physics.constraints with parameters of type VerletParticle | |
---|---|
void |
SphereConstraint.apply(VerletParticle p)
|
void |
SoftBoxConstraint.apply(VerletParticle p)
|
void |
PlaneConstraint.apply(VerletParticle p)
|
void |
ParticleConstraint.apply(VerletParticle p)
Applies the constraint to the passed in particle. |
void |
MinConstraint.apply(VerletParticle p)
|
void |
MaxConstraint.apply(VerletParticle p)
|
void |
CylinderConstraint.apply(VerletParticle p)
|
void |
BoxConstraint.apply(VerletParticle p)
|
void |
AxisConstraint.apply(VerletParticle p)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |