|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.animation.GLFEMRenderer
fhm.edu.fem.animation.GLMembraneRenderer
public class GLMembraneRenderer
Class Description: This class takes care of actually drawing the membrane
Field Summary | |
---|---|
protected Vector |
currentWt
|
protected double |
dimensionA
|
protected double |
dimensionB
|
protected Vector |
w0Vector
|
Fields inherited from class fhm.edu.fem.animation.GLFEMRenderer |
---|
femManager, mouseLButtonDown, mouseRButtonDown, nRange, prevMouseX, prevMouseY, showPointsOnly, showPolygons, transX, transY, useColorMode, viewChangedByUser, viewHeight, viewRotX, viewRotY, viewRotZ, viewWidth, viewX, viewY |
Constructor Summary | |
---|---|
GLMembraneRenderer(double dimensionA,
double dimensionB,
Vector w0)
Create a new OpenGL Membrane Renderer |
Method Summary | |
---|---|
protected void |
drawContents(GLDrawable drawable)
Draw the contents |
protected void |
drawMembraneElements(GLDrawable drawable,
Vector w)
Draw the membrane's elements |
protected void |
drawMembraneNodes(GLDrawable drawable,
Vector w)
Draw the membrane's nodes |
protected void |
drawMembranePolygons(GLDrawable drawable,
Vector w)
Draw the membrane's polygons |
void |
setNewVectorW(Vector wT)
Set a new vector w(t) while running |
Methods inherited from class fhm.edu.fem.animation.GLFEMRenderer |
---|
display, displayChanged, drawCoordSystem, init, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, reshape, setMidPointFromNodes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector currentWt
protected double dimensionA
protected double dimensionB
protected Vector w0Vector
Constructor Detail |
---|
public GLMembraneRenderer(double dimensionA, double dimensionB, Vector w0)
dimensionA,
- length of membrane side AdimensionB,
- length of membrane side Bw0,
- the initial vector holding the z-values of all aliasID nodesMethod Detail |
---|
protected void drawContents(GLDrawable drawable)
drawContents
in class GLFEMRenderer
drawable,
- the main GLDrawable given by OpenGLprotected void drawMembraneElements(GLDrawable drawable, Vector w)
drawable,
- the main GLDrawable given by OpenGLw,
- the vector w(t) to useprotected void drawMembraneNodes(GLDrawable drawable, Vector w)
drawable,
- the main GLDrawable given by OpenGLw,
- the vector w(t) to useprotected void drawMembranePolygons(GLDrawable drawable, Vector w)
drawable,
- the main GLDrawable given by OpenGLw,
- the vector w(t) to usepublic void setNewVectorW(Vector wT)
wT,
- the new Vector wT
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |