jjdh API

jjdh.opengl.exercises.presentation
Class FinalPresentation

java.lang.Object
  extended by jjdh.opengl.program.AbstractOpenGLProgram
      extended by jjdh.opengl.program.StandardOpenGLProgram
          extended by jjdh.opengl.exercises.presentation.FinalPresentation
All Implemented Interfaces:
Initable, Reshapeable, OpenGLProgram, FullRenderer, GlassPaneRenderer, Renderer, ReshapeableRenderer
Direct Known Subclasses:
FinalPresentationWithCG

public class FinalPresentation
extends StandardOpenGLProgram


Nested Class Summary
 
Nested classes/interfaces inherited from interface jjdh.opengl.program.OpenGLProgram
OpenGLProgram.State
 
Field Summary
protected  Camera camera2
           
protected  CameraNode cameraNode
          This is the technical root of our sceengraph.
protected  Material defaultMaterial
           
protected  int displayCounter
           
protected  Fog fog
           
protected  GLScheduler glScheduler
           
protected  Camera mirrorCamera
           
protected  boolean mirrorOn
           
protected  Vector3D mirrorPosition
           
protected  TextureNode mirrorTexture
           
protected  boolean monitorOn
           
protected  TextureNode monitorTexture
           
protected  ContainerScenegraphNode root
          This is the 'normal' root for all normal ModelView Operations.
protected  SlideContainerNode slides
           
protected  ScenegraphNode triggerEarthNode
           
protected  ScenegraphNode triggerFootballNode
           
protected  TriggerHandler triggerHandler
           
protected  Scheduler updateScheduler
           
 
Fields inherited from class jjdh.opengl.program.StandardOpenGLProgram
gl, glu, glut, inputListener, lightMap
 
Fields inherited from class jjdh.opengl.program.AbstractOpenGLProgram
camera, context, model, mouseRobot, name, state
 
Constructor Summary
FinalPresentation()
           
 
Method Summary
protected  void createNewTriggerPoint(ScenegraphNode node, ITriggerable trigger, boolean doBoom, float... position)
           
protected  void createNewTriggerPoint(ScenegraphNode node, ITriggerable trigger, float... position)
           
 void display()
          Called to execute OpenGL rendering.
 void displayMirror()
           
 MaterialNode getDefaultMaterialNode(ScenegraphNode... children)
           
 void init(SystemContext context)
          Called to give this renderer the chance to initiate himself for OpenGL rendering.
protected  void initCameraMonitor()
           
protected  void initCommonAttributes()
           
protected  void initFog()
           
protected  void initHeightMap()
           
protected  void initHouse()
           
protected  void initLights()
           
protected  void initMD2s(SystemContext context)
           
protected  void initMirror()
           
protected  void initMuppetShow()
           
protected  void initParticleEffects()
           
protected  void initSkybox()
           
protected  void initSlides()
           
protected  void initSwing(SystemContext context)
           
protected  void initText()
           
protected  void initTreeView()
           
protected  void initTriggerPoints()
           
 void playWelcomeSound()
           
protected  void updateMirror()
           
 
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

glScheduler

protected GLScheduler glScheduler

updateScheduler

protected Scheduler updateScheduler

cameraNode

protected CameraNode cameraNode
This is the technical root of our sceengraph.


root

protected ContainerScenegraphNode root
This is the 'normal' root for all normal ModelView Operations.


triggerHandler

protected TriggerHandler triggerHandler

triggerEarthNode

protected ScenegraphNode triggerEarthNode

triggerFootballNode

protected ScenegraphNode triggerFootballNode

slides

protected SlideContainerNode slides

defaultMaterial

protected Material defaultMaterial

fog

protected Fog fog

camera2

protected Camera camera2

displayCounter

protected int displayCounter

monitorOn

protected boolean monitorOn

monitorTexture

protected TextureNode monitorTexture

mirrorTexture

protected TextureNode mirrorTexture

mirrorCamera

protected Camera mirrorCamera

mirrorOn

protected boolean mirrorOn

mirrorPosition

protected Vector3D mirrorPosition
Constructor Detail

FinalPresentation

public FinalPresentation()
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

initCommonAttributes

protected void initCommonAttributes()

initLights

protected void initLights()

initTriggerPoints

protected void initTriggerPoints()

createNewTriggerPoint

protected void createNewTriggerPoint(ScenegraphNode node,
                                     ITriggerable trigger,
                                     float... position)

createNewTriggerPoint

protected void createNewTriggerPoint(ScenegraphNode node,
                                     ITriggerable trigger,
                                     boolean doBoom,
                                     float... position)

initSlides

protected void initSlides()

initSkybox

protected void initSkybox()

initMD2s

protected void initMD2s(SystemContext context)

initText

protected void initText()

initTreeView

protected void initTreeView()

initSwing

protected void initSwing(SystemContext context)

initMuppetShow

protected void initMuppetShow()

getDefaultMaterialNode

public MaterialNode getDefaultMaterialNode(ScenegraphNode... children)

initFog

protected void initFog()

initHeightMap

protected void initHeightMap()

initParticleEffects

protected void initParticleEffects()

initCameraMonitor

protected void initCameraMonitor()

initMirror

protected void initMirror()

initHouse

protected void initHouse()

updateMirror

protected void updateMirror()

displayMirror

public void displayMirror()

playWelcomeSound

public void playWelcomeSound()

jjdh API

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