|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.javagl.swogl.rendering.SwoglApplicationJOGL
public class SwoglApplicationJOGL
Implementation of a SwoglApplication
using JOGL
Constructor Summary | |
---|---|
SwoglApplicationJOGL()
Creates a new SwoglApplicationJOGL |
|
SwoglApplicationJOGL(boolean useGLJPanel)
Creates a new SwoglApplicationJOGL. |
Method Summary | |
---|---|
protected void |
applyLightSetup()
Apply the LightSetup of this application |
protected void |
applyView()
Apply the current view state to GL. |
de.javagl.swogl.scene.MutableCamera |
getCamera()
|
de.javagl.swogl.scene.LightSetup |
getLightSetup()
|
de.javagl.swogl.PickingRayComputer |
getPickingRayComputer()
|
java.awt.Component |
getRenderComponent()
|
de.javagl.swogl.SwoglComponentHandler |
getSwoglComponentHandler()
|
protected SwoglRendererJOGL |
getSwoglRenderer()
Returns the SwoglRenderer that is used in this application |
de.javagl.swogl.scene.View |
getView()
|
protected void |
prepareRender()
Prepares the rendering pass |
protected void |
render()
Renders the current scene. |
protected void |
setupView()
Set up the view according to the current size of the rendering component |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwoglApplicationJOGL()
public SwoglApplicationJOGL(boolean useGLJPanel)
useGLJPanel
- Whether a GLJPanel should be used
instead of a GLCanvas (experimental)Method Detail |
---|
public de.javagl.swogl.scene.View getView()
getView
in interface de.javagl.swogl.SwoglApplication
public de.javagl.swogl.scene.MutableCamera getCamera()
getCamera
in interface de.javagl.swogl.SwoglApplication
public de.javagl.swogl.scene.LightSetup getLightSetup()
getLightSetup
in interface de.javagl.swogl.SwoglApplication
public de.javagl.swogl.PickingRayComputer getPickingRayComputer()
getPickingRayComputer
in interface de.javagl.swogl.SwoglSetup
public java.awt.Component getRenderComponent()
getRenderComponent
in interface de.javagl.swogl.SwoglApplication
public de.javagl.swogl.SwoglComponentHandler getSwoglComponentHandler()
getSwoglComponentHandler
in interface de.javagl.swogl.SwoglSetup
protected SwoglRendererJOGL getSwoglRenderer()
protected void setupView()
protected void render()
prepareRender()
and applyView()
, and then let the SwoglRenderer render
all SwoglComponents.
protected void prepareRender()
protected void applyLightSetup()
LightSetup
of this application
protected void applyView()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |