|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.speckled.specksim.gui.imp.AbstractStateRenderer
com.speckled.specksim.gui.imp.GravityRenderer
@ConfigurableType(value="Gravity renderer") public class GravityRenderer
Renders the gravity vector
| Field Summary | |
|---|---|
float |
arrowLength
The length of the arrow |
float[] |
startPoint
The start point of the arrow |
float |
textHeight
The height of the text |
| Fields inherited from class com.speckled.specksim.gui.imp.AbstractStateRenderer |
|---|
visualiser |
| Constructor Summary | |
|---|---|
GravityRenderer()
|
|
| Method Summary | |
|---|---|
protected void |
compileSubLists()
All display lists used by subclasses should be put into a usable state in this method |
void |
constructGLObjects(javax.media.opengl.GLAutoDrawable drawable)
GLObjects used by the renderer should be built here |
Configurator |
getConfigurator()
Gets a Configurator object that describes and can manipulate the variables of this Configurable. |
java.lang.String |
getName()
Gets the name of this renderer |
protected void |
renderState(javax.media.opengl.GLAutoDrawable drawable,
StateSink state)
Perform your rendering here. |
| Methods inherited from class com.speckled.specksim.gui.imp.AbstractStateRenderer |
|---|
compareTo, getRenderPriority, init, isEnabled, render, setDirty, setEnabled, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@ConfigurableVariable(value="Arrow Start point") public float[] startPoint
@ConfigurableVariable(value="Arrow length") public float arrowLength
@ConfigurableVariable(value="Text height") public float textHeight
| Constructor Detail |
|---|
public GravityRenderer()
| Method Detail |
|---|
protected void compileSubLists()
AbstractStateRenderer
compileSubLists in class AbstractStateRenderer
protected void renderState(javax.media.opengl.GLAutoDrawable drawable,
StateSink state)
AbstractStateRenderer
renderState in class AbstractStateRendererdrawable - The GL context to draw tostate - The state to renderpublic void constructGLObjects(javax.media.opengl.GLAutoDrawable drawable)
StateRenderer
drawable - The context to use when buildingpublic java.lang.String getName()
StateRenderer
public Configurator getConfigurator()
Configurable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||