|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.web3d.vrml.renderer.ogl.browser.OGLRenderingEffects
public class OGLRenderingEffects
Pre and post frame rendering effects processing for any OpenGL renderer.
| Constructor Summary | |
|---|---|
OGLRenderingEffects(org.j3d.aviatrix3d.SimpleScene scene)
Construct a default instance initialised to have a mode of shaded rendering. |
|
| Method Summary | |
|---|---|
void |
addProfilingListener(ProfilingListener l)
Request notification of profiling information. |
void |
captureScreenEnd()
Stop cpaturing the screen on each render. |
void |
captureScreenOnce(ScreenCaptureListener listener,
int width,
int height)
Capture the screen on the next render. |
void |
captureScreenStart(ScreenCaptureListener listener,
int width,
int height)
Capture the screen on each render. |
int |
getRenderingStyle()
Get the currently set rendering style. |
void |
postDraw(javax.media.opengl.GL gl,
org.j3d.aviatrix3d.rendering.ProfilingData profilingData,
java.lang.Object userData)
Perform any post-rendering actions that you may need for this scene. |
void |
preDraw(javax.media.opengl.GL gl,
java.lang.Object userData)
Perform any pre-rendering setup that you may need for this scene. |
void |
removeProfilingListener(ProfilingListener l)
Remove notification of profiling information. |
void |
setRenderingStyle(int style)
Change the rendering style that the browser should currently be using. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OGLRenderingEffects(org.j3d.aviatrix3d.SimpleScene scene)
| Method Detail |
|---|
public void preDraw(javax.media.opengl.GL gl,
java.lang.Object userData)
preDraw in interface org.j3d.aviatrix3d.rendering.RenderEffectsProcessorgl - The current GL context wrapper to draw withuserData - Some identifiable data provided by the user
public void postDraw(javax.media.opengl.GL gl,
org.j3d.aviatrix3d.rendering.ProfilingData profilingData,
java.lang.Object userData)
postDraw in interface org.j3d.aviatrix3d.rendering.RenderEffectsProcessorgl - The current GL context wrapper to draw withuserData - Some identifiable data provided by the userpublic void addProfilingListener(ProfilingListener l)
l - The listenerpublic void removeProfilingListener(ProfilingListener l)
l - The listener
public void setRenderingStyle(int style)
throws java.lang.IllegalArgumentException
style - One of the RENDER_* constants
java.lang.IllegalArgumentException - A style constant that is not recognized
by the implementation was providedpublic int getRenderingStyle()
public void captureScreenOnce(ScreenCaptureListener listener,
int width,
int height)
listener - Listener for capture resultswidth - The screen widthheight - The screen height
public void captureScreenStart(ScreenCaptureListener listener,
int width,
int height)
listener - Listener for capture resultswidth - The screen widthheight - The screen heightpublic void captureScreenEnd()
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||