|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ryanm.glvisualiser.GLEdge
com.ryanm.glvisualiser.imp.UniformEdge
public abstract class UniformEdge
The abstract superclass to use if your edge has a single material.
| Field Summary |
|---|
| Fields inherited from class com.ryanm.glvisualiser.GLEdge |
|---|
dirty |
| Constructor Summary | |
|---|---|
UniformEdge(GLVisualiser drawable,
GLMaterial material)
|
|
| Method Summary | |
|---|---|
protected void |
constructCompleteObject(javax.media.opengl.GLAutoDrawable drawable)
This method should be overridden with calls that draw the edge, complete with GL state, colour and material manipulations |
Configurator |
getConfigurator()
Gets a Configurator object that describes and can manipulate the variables of this Configurable. |
Configurator |
getConfigurator(java.lang.String name)
Gets a configurator with the supplied name |
GLMaterial |
getMaterial()
Gets the material that this object is rendered with |
void |
setMaterial(GLMaterial material)
Sets the material for rendering this edge. |
void |
valueChanged(java.lang.String name)
Is called by the configurator when a variable is changed |
| Methods inherited from class com.ryanm.glvisualiser.GLEdge |
|---|
constructGeometry, drawGeometry, finalize, recompile, render |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UniformEdge(GLVisualiser drawable,
GLMaterial material)
drawable - material - | Method Detail |
|---|
protected void constructCompleteObject(javax.media.opengl.GLAutoDrawable drawable)
GLEdge
constructCompleteObject in class GLEdgedrawable - The GL/GLU context to usepublic void setMaterial(GLMaterial material)
material - The new Materialpublic GLMaterial getMaterial()
public Configurator getConfigurator()
Configurable
getConfigurator in interface Configurablepublic Configurator getConfigurator(java.lang.String name)
name - The name to give the configurator
public void valueChanged(java.lang.String name)
ValueListener
valueChanged in interface ValueListenername - The name of the variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||