A C D E F G I M P R S T U V 

A

acc(Tuple3d, double, Tuple3d) - Static method in class cs5643.particles.Utils
sum += scale*v
addForce(Force) - Method in class cs5643.particles.ParticleSystem
Adds a force object (until removed)
advanceTime(double) - Method in class cs5643.particles.ParticleSystem
Incomplete/Debugging implementation of Forward-Euler step.
applyForce() - Method in interface cs5643.particles.Force
Causes force to be applied to affected particles.

C

CAM_COS_THETA - Static variable in interface cs5643.particles.Constants
 
CAM_SIN_THETA - Static variable in interface cs5643.particles.Constants
Camera rotation speed constants.
Constants - Interface in cs5643.particles
Default constants.
createParticle(Point3d) - Method in class cs5643.particles.ParticleSystem
Creates particle and adds it to the particle system.
cs5643.particles - package cs5643.particles
 

D

display(GL2) - Method in interface cs5643.particles.Force
Display any instructive force information, e.g., direction.
display(GL2) - Method in class cs5643.particles.Particle
Draws spherical particle using a display list.
display(GL2) - Method in class cs5643.particles.ParticleSystem
Displays Particle and Force objects.
display(GLAutoDrawable) - Method in class cs5643.particles.ParticleSystemBuilder
Main event loop: OpenGL display + simulation advance.
displayChanged(GLAutoDrawable, boolean, boolean) - Method in class cs5643.particles.ParticleSystemBuilder
GLEventListener implementation
dispose(GLAutoDrawable) - Method in class cs5643.particles.ParticleSystemBuilder
GLEventListener implementation
DT - Static variable in class cs5643.particles.ParticleSystemBuilder
Default graphics time step size.

E

eyePos - Variable in class cs5643.particles.ParticleSystemBuilder
Position of the camera.

F

F - Variable in class cs5643.particles.ParticleSystem
List of Force objects.
Force - Interface in cs5643.particles
Particle system force.
FRAG_SOURCE - Static variable in class cs5643.particles.ParticleSystem
Filename of fragment shader source.

G

getHighlight() - Method in class cs5643.particles.Particle
True if particle should be drawn highlighted.
getNearestParticle(Point3d) - Method in class cs5643.particles.ParticleSystem
Helper-function that computes nearest particle to the specified (deformed) position.
getPaddedNumber(int, int, String) - Static method in class cs5643.particles.Utils
 
getPaddedString(String, int, String, boolean) - Static method in class cs5643.particles.Utils
 
getParticleSystem() - Method in interface cs5643.particles.Force
Reference to the ParticleSystem this force affects.

I

init(GL2) - Method in class cs5643.particles.ParticleSystem
Set up the GLSL program.
init(GLAutoDrawable) - Method in class cs5643.particles.ParticleSystemBuilder
GLEventListener implementation: Initializes JOGL renderer.

M

main(String[]) - Static method in class cs5643.particles.ParticleSystemBuilder
### Runs the ParticleSystemBuilder.

P

P - Variable in class cs5643.particles.ParticleSystem
List of Particle objects.
Particle - Class in cs5643.particles
Simple particle implementation, with miscellaneous adornments.
PARTICLE_MASS - Static variable in interface cs5643.particles.Constants
Mass of a particle.
PARTICLE_RADIUS - Static variable in class cs5643.particles.Particle
Radius of particle's sphere graphic.
ParticleSystem - Class in cs5643.particles
Maintains dynamic lists of Particle and Force objects, and provides access to their state for numerical integration of dynamics.
ParticleSystem() - Constructor for class cs5643.particles.ParticleSystem
Basic constructor.
ParticleSystemBuilder - Class in cs5643.particles
CS5643: Assignment #1: Smoothed-Particle Hydrodynamics main() entry point class that initializes ParticleSystem, OpenGL rendering, and GUI that manages GUI/mouse events.

R

removeForce(Force) - Method in class cs5643.particles.ParticleSystem
Useful for removing temporary forces, such as user-interaction spring forces.
reset() - Method in class cs5643.particles.ParticleSystem
Moves all particles to undeformed/materials positions, and sets all velocities to zero.
reshape(GLAutoDrawable, int, int, int, int) - Method in class cs5643.particles.ParticleSystemBuilder
GLEventListener implementation

S

setHighlight(boolean) - Method in class cs5643.particles.Particle
Specifies whether particle should be drawn highlighted.
start() - Method in class cs5643.particles.ParticleSystemBuilder
Builds and shows windows/GUI, and starts simulator.

T

targetPos - Variable in class cs5643.particles.ParticleSystemBuilder
Position of the camera's focus.
time - Variable in class cs5643.particles.ParticleSystem
Current simulation time.

U

Utils - Class in cs5643.particles
Catch-all utilities (feel free to add on).
Utils() - Constructor for class cs5643.particles.Utils
 

V

VERT_SOURCE - Static variable in class cs5643.particles.ParticleSystem
Filename of vertex shader source.
A C D E F G I M P R S T U V