jjdh API

jjdh.opengl.program.renderer.common
Class StandardFullRenderer

java.lang.Object
  extended by jjdh.opengl.program.renderer.common.StandardFullRenderer
All Implemented Interfaces:
Initable, Reshapeable, FullRenderer, GlassPaneRenderer, Renderer, ReshapeableRenderer
Direct Known Subclasses:
CubeRenderer, EarthRenderer, GLEventListenerWrapper

public class StandardFullRenderer
extends Object
implements FullRenderer

Author:
Jonas Jacobi, Dennis Heidsiek

Field Summary
 javax.media.opengl.GL gl
           
 javax.media.opengl.glu.GLU glu
           
 com.sun.opengl.util.GLUT glut
           
 
Constructor Summary
StandardFullRenderer()
           
 
Method Summary
 void display()
          Called to execute OpenGL rendering.
 void displayGlassPane()
          Called to execute OpenGL GlassPane rendering.
 void init(SystemContext context)
          Called to give this renderer the chance to initiate himself for OpenGL rendering.
 void reshape(Rectangle rectangle)
          Called after the component has been resized.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gl

public javax.media.opengl.GL gl

glu

public javax.media.opengl.glu.GLU glu

glut

public com.sun.opengl.util.GLUT glut
Constructor Detail

StandardFullRenderer

public StandardFullRenderer()
Method Detail

init

public void init(SystemContext context)
Description copied from interface: Initable
Called to give this renderer the chance to initiate himself for OpenGL rendering.

Specified by:
init in interface Initable
Parameters:
context - the suitable system context

display

public void display()
Description copied from interface: Renderer
Called to execute OpenGL rendering.

Specified by:
display in interface Renderer

displayGlassPane

public void displayGlassPane()
Description copied from interface: GlassPaneRenderer
Called to execute OpenGL GlassPane rendering.

Specified by:
displayGlassPane in interface GlassPaneRenderer

reshape

public void reshape(Rectangle rectangle)
Description copied from interface: Reshapeable
Called after the component has been resized.

Specified by:
reshape in interface Reshapeable
Parameters:
rectangle - the new size of the component

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.