jjdh API

jjdh.opengl.exercises.sheet11
Class Task25

java.lang.Object
  extended by jjdh.opengl.program.AbstractOpenGLProgram
      extended by jjdh.opengl.program.StandardOpenGLProgram
          extended by jjdh.opengl.exercises.sheet11.Task25
All Implemented Interfaces:
Initable, Reshapeable, OpenGLProgram, FullRenderer, GlassPaneRenderer, Renderer, ReshapeableRenderer

public class Task25
extends StandardOpenGLProgram


Nested Class Summary
 
Nested classes/interfaces inherited from interface jjdh.opengl.program.OpenGLProgram
OpenGLProgram.State
 
Field Summary
private  MultiTextureBox behindMirror
           
private  Container cont
           
private  Box cube
           
private  FramebufferObject fbo
           
private  DoubleBuffer mirrorPlane
           
private  com.sun.opengl.util.texture.Texture mirrorTexture
           
private  Sphere sphere
           
private  com.sun.opengl.util.texture.Texture texture
           
 
Fields inherited from class jjdh.opengl.program.StandardOpenGLProgram
gl, glu, glut, inputListener, lightMap
 
Fields inherited from class jjdh.opengl.program.AbstractOpenGLProgram
camera, context, glScheduler, model, mouseRobot, name, state
 
Constructor Summary
Task25()
           
 
Method Summary
 void display()
          Called to execute OpenGL rendering.
 void init(SystemContext context)
          Called to give this renderer the chance to initiate himself for OpenGL rendering.
 
Methods inherited from class jjdh.opengl.program.StandardOpenGLProgram
displayGlassPane, drawCounter, reshape, setContext, sleep, sleep
 
Methods inherited from class jjdh.opengl.program.AbstractOpenGLProgram
getCamera, getContext, getMouseRobot, getName, getState, setCamera, setMouseRobot, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

mirrorPlane

private DoubleBuffer mirrorPlane

cube

private Box cube

behindMirror

private MultiTextureBox behindMirror

cont

private Container cont

sphere

private Sphere sphere

mirrorTexture

private com.sun.opengl.util.texture.Texture mirrorTexture

fbo

private FramebufferObject fbo

texture

private com.sun.opengl.util.texture.Texture texture
Constructor Detail

Task25

public Task25()
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
Overrides:
init in class StandardOpenGLProgram
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
Overrides:
display in class StandardOpenGLProgram

jjdh API

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