|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.sdsc.mbt.viewers.GLViewerImpl.MbtRenderable
Provides a renderable object which contains all properties needed to regenerate geometry for a visible representation of the data. As the viewer processes incomming state change events from the tookit, the viewer passes the events to instances of this class so that the updated content can be rendered on the next call to the draw method.
Field Summary | |
boolean |
status
|
StructureComponent |
structureComponent
|
StructureStyles |
structureStyles
|
Constructor Summary | |
MbtRenderable(StructureComponent structureComponent,
StructureStyles styles,
Geometry geometry)
Construct a Renderable object. |
Method Summary | |
void |
draw(javax.media.opengl.GL gl,
javax.media.opengl.glu.GLU glu,
com.sun.opengl.util.GLUT glut)
Tell the geometry to redraw its representation for this renderable. |
void |
freeGlResources(javax.media.opengl.GL gl)
|
Geometry |
getGeometry()
|
StructureComponent |
getStructureComponent()
Return the StructureComponent for this MbtRenderable. |
void |
setDirty()
An event sent to us when one or more style properties have changed. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public StructureComponent structureComponent
public StructureStyles structureStyles
public boolean status
Constructor Detail |
public MbtRenderable(StructureComponent structureComponent, StructureStyles styles, Geometry geometry)
Method Detail |
public final StructureComponent getStructureComponent()
public final void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
draw
in interface GlRenderable
public Geometry getGeometry()
public final void setDirty()
setDirty
in interface GlRenderable
public final void freeGlResources(javax.media.opengl.GL gl)
freeGlResources
in interface GlRenderable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |