de.javagl.swogl.rendering
Class SwoglSetupJOGL

java.lang.Object
  extended by de.javagl.swogl.rendering.SwoglSetupJOGL
All Implemented Interfaces:
de.javagl.swogl.SwoglSetup

public class SwoglSetupJOGL
extends java.lang.Object
implements de.javagl.swogl.SwoglSetup

Implementation of a SwoglSetup using JOGL.


Constructor Summary
SwoglSetupJOGL()
          Creates a new SwoglSetupJOGL
 
Method Summary
 PickingRayComputerJOGL getPickingRayComputer()
           
 SwoglRendererJOGL getSwoglComponentHandler()
           
 void setGL(javax.media.opengl.GL2 gl)
          Set the current GL for the pickingRayComputer and the swoglRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwoglSetupJOGL

public SwoglSetupJOGL()
Creates a new SwoglSetupJOGL

Method Detail

setGL

public void setGL(javax.media.opengl.GL2 gl)
Set the current GL for the pickingRayComputer and the swoglRenderer

Parameters:
gl - The current GL

getSwoglComponentHandler

public SwoglRendererJOGL getSwoglComponentHandler()
Specified by:
getSwoglComponentHandler in interface de.javagl.swogl.SwoglSetup

getPickingRayComputer

public PickingRayComputerJOGL getPickingRayComputer()
Specified by:
getPickingRayComputer in interface de.javagl.swogl.SwoglSetup