edu.sdsc.mbt.viewers.GLViewerImpl
Interface GlRenderable

All Known Implementing Classes:
GlAxesRenderable, MbtRenderable, MonitorRenderable, TransformGroupRenderable

public interface GlRenderable

Provides an interface with which the GlGeometryViewer class can render a visible representation of some data. Any state change methods should be provided by implementation classes.


Method Summary
 void draw(javax.media.opengl.GL gl, javax.media.opengl.glu.GLU glu, com.sun.opengl.util.GLUT glut)
          Draw the content.
 void freeGlResources(javax.media.opengl.GL gl)
           
 void setDirty()
           
 

Method Detail

draw

public void draw(javax.media.opengl.GL gl,
                 javax.media.opengl.glu.GLU glu,
                 com.sun.opengl.util.GLUT glut)
Draw the content.


setDirty

public void setDirty()

freeGlResources

public void freeGlResources(javax.media.opengl.GL gl)