hmi.graphics.opengl
Interface GLRenderObject

All Known Subinterfaces:
GLStateComponent
All Known Implementing Classes:
Background, Background, BoxGeometry, CapsuleGeometry, COMGeometry, COMOffsetGeometry, DiscGeometry, ElckerlycDemo, ElckerlycDemoEnvironment, EnterfaceDemo, GLBasicMesh, GLCapability, GLCheckerBoardGround, GLCheckerBoardGround, GLFill, GLLine, GLMaterial, GLNodeMarker, GLProcAnimGeometry, GLRenderList, GLScene, GLShader, GLShaderProgram, GLShape, GLSkeleton, GLSkinnedMesh, GLStateComponentF4, GLStateComponentI, GLStateComponentIF, GLStateComponentIF4, GLStateComponentII, GLStateComponentList, GLTexture, GLTextureStateComponent, GraphicsDemoEnvironment, LineGeometry, MaterialState, MaterialState, NavigationControl, NoTexture2DState, PhysicalDemoEnvironment, PhysicalHumanVGLNode, RigidBodyToVJoint, SimpleLight, SimpleLight, SimpleLightGeometry, SimpleLightGeometry, SimpleLightState, SimpleLightState, SphereGeometry, SphereGeometry2, SphereGeometry3, SphereGeometryFaceEditor, VGLNode

public interface GLRenderObject

Interface for all objects that can be "rendered" in a Jogl GL window. This does not necessarily imply that any direct visualization is associated with the object, but rather that the "glInit" method can be called, while the OpenGL context is initializing, and that the "glRender" method can be called for every frame that is being rendered. These methods will be called when a "current" OpenGL context is available, passed on via the GLRenderContext parameter. Note that OpenGL "initialization" typically happens only once, but might be called several times, so the glInit method should be able to deal with repreated calls. The glRender call on the other hand will be called repeatedly, typically once for every frame being rendered.


Method Summary
 void glInit(GLRenderContext gl)
          Called during OpenGL initialization.
 void glRender(GLRenderContext gl)
          Called during openGL rendering.
 

Method Detail

glInit

void glInit(GLRenderContext gl)
Called during OpenGL initialization.


glRender

void glRender(GLRenderContext gl)
Called during openGL rendering.