Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
F
G
I
M
O
P
R
S
U
A
acc(Tuple2d, double, Tuple2d)
- Static method in class cs567.particles.
Utils
sum += scale*v
addForce(Force)
- Method in class cs567.particles.
ParticleSystem
Adds a force object (until removed)
advanceTime(double)
- Method in class cs567.particles.
ParticleSystem
Incomplete/Debugging implementation of Forward-Euler step.
apply_glOrtho(GL)
- Method in class cs567.particles.
OrthoMap
applyForce()
- Method in interface cs567.particles.
Force
Causes force to be applied to affected particles.
applyForce()
- Method in class cs567.particles.
SpringForce1Particle
applyForce()
- Method in class cs567.particles.
SpringForce2Particle
applyForce()
- Method in class cs567.particles.
SpringForceBending
C
Constants
- Interface in
cs567.particles
Default constants.
createParticle(Point2d)
- Method in class cs567.particles.
ParticleSystem
Creates particle and adds it to the particle system.
cs567.particles
- package cs567.particles
D
DAMPING_MASS
- Static variable in interface cs567.particles.
Constants
Mass-proportional damping.
display(GL)
- Method in interface cs567.particles.
Force
Display any instructive force information, e.g., connecting spring.
display(GL)
- Method in class cs567.particles.
Particle
Draws circular particle using a display list.
display(GL)
- Method in class cs567.particles.
ParticleSystem
Displays Particle and Force objects.
display(GLAutoDrawable)
- Method in class cs567.particles.
ParticleSystemBuilder
Main event loop: OpenGL display + simulation advance.
display(GL)
- Method in class cs567.particles.
SpringForce1Particle
display(GL)
- Method in class cs567.particles.
SpringForce2Particle
display(GL)
- Method in class cs567.particles.
SpringForceBending
displayChanged(GLAutoDrawable, boolean, boolean)
- Method in class cs567.particles.
ParticleSystemBuilder
GLEventListener implementation
DT
- Static variable in class cs567.particles.
ParticleSystemBuilder
Default graphics time step size.
F
Force
- Interface in
cs567.particles
Particle system force.
G
getHighlight()
- Method in class cs567.particles.
Particle
True if particle should be drawn highlighted.
getNearestParticle(Point2d)
- Method in class cs567.particles.
ParticleSystem
Helper-function that computes nearest particle to the specified (deformed) position.
getPaddedNumber(int, int, String)
- Static method in class cs567.particles.
Utils
getPaddedString(String, int, String, boolean)
- Static method in class cs567.particles.
Utils
getParticleSystem()
- Method in interface cs567.particles.
Force
Reference to the ParticleSystem this force affects.
getParticleSystem()
- Method in class cs567.particles.
SpringForce1Particle
getParticleSystem()
- Method in class cs567.particles.
SpringForce2Particle
getParticleSystem()
- Method in class cs567.particles.
SpringForceBending
getPoint2d(MouseEvent)
- Method in class cs567.particles.
OrthoMap
Get 2d coordinates in unit computation cell of e using knowledge of ortho projection.
getPoint2d(MouseEvent)
- Method in class cs567.particles.
ParticleSystemBuilder
Maps mouse event into computational cell using OrthoMap.
I
init(GLAutoDrawable)
- Method in class cs567.particles.
ParticleSystemBuilder
GLEventListener implementation: Initializes JOGL renderer.
isPinned()
- Method in class cs567.particles.
Particle
Returns true if currently pinned.
M
main(String[])
- Static method in class cs567.particles.
ParticleSystemBuilder
### Runs the ParticleSystemBuilder.
O
OrthoMap
- Class in
cs567.particles
Simple object for setting up orthographic projection in OpenGL, and mapping mouse clicks into the unit computational cell.
P
Particle
- Class in
cs567.particles
Simple particle implementation, with miscellaneous adornments.
PARTICLE_MASS
- Static variable in interface cs567.particles.
Constants
Mass of a particle.
PARTICLE_RADIUS
- Static variable in class cs567.particles.
Particle
Radius of particle's circle graphic.
ParticleSystem
- Class in
cs567.particles
Maintains dynamic lists of Particle and Force objects, and provides access to their state for numerical integration of dynamics.
ParticleSystem()
- Constructor for class cs567.particles.
ParticleSystem
Basic constructor.
ParticleSystemBuilder
- Class in
cs567.particles
CS567: Assignment #1 "Particle Systems" main() entry point class that initializes ParticleSystem, OpenGL rendering, and GUI that manages GUI/mouse events.
R
removeForce(Force)
- Method in class cs567.particles.
ParticleSystem
Useful for removing temporary forces, such as user-interaction spring forces.
reset()
- Method in class cs567.particles.
ParticleSystem
Moves all particles to undeformed/materials positions, and sets all velocities to zero.
reshape(GLAutoDrawable, int, int, int, int)
- Method in class cs567.particles.
ParticleSystemBuilder
GLEventListener implementation
RESTITUTION_COEFF
- Static variable in interface cs567.particles.
Constants
Restitution coefficient on [0,1].
S
setHighlight(boolean)
- Method in class cs567.particles.
Particle
Specifies whether particle should be drawn highlighted.
setPin(boolean)
- Method in class cs567.particles.
Particle
Specifies whether or not this particle is fixed in space via a pin constraint.
SpringForce1Particle
- Class in
cs567.particles
Spring force between one particle and a proxy point.
SpringForce2Particle
- Class in
cs567.particles
Spring force between two particles.
SpringForceBending
- Class in
cs567.particles
Bending spring force between three particles.
start()
- Method in class cs567.particles.
ParticleSystemBuilder
Builds and shows windows/GUI, and starts simulator.
STIFFNESS_BEND
- Static variable in interface cs567.particles.
Constants
Spring bending stiffness.
STIFFNESS_STRETCH
- Static variable in interface cs567.particles.
Constants
Spring stretching stiffness.
U
updatePoint(Point2d)
- Method in class cs567.particles.
SpringForce1Particle
Utils
- Class in
cs567.particles
Catch-all utilities (feel free to add on).
Utils()
- Constructor for class cs567.particles.
Utils
A
C
D
F
G
I
M
O
P
R
S
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes