|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.rendering.view.Renderer3d
public class Renderer3d
The Renderer object is a GLEventListener,
that makes openGL calls necessary to initialize and render
a Scene
for its parent ICanvas
.
A Renderer is directly embedded and controlled by a Canvas3d and
should not be controlled by the user in normal uses.
However, since the Renderer implements the GLEventListener
interface, it may be incorporated into one of these
GLAutoDrawable provided by JOGL:
Constructor Summary | |
---|---|
Renderer3d(View view)
Initialize a Renderer attached to the given View. |
|
Renderer3d(View view,
boolean traceGL,
boolean debugGL)
Initialize a Renderer attached to the given View, and activate GL trace and errors to console. |
Method Summary | |
---|---|
void |
display(javax.media.opengl.GLAutoDrawable canvas)
Called when the GLDrawable requires a rendering. |
void |
displayChanged(javax.media.opengl.GLAutoDrawable canvas,
boolean modeChanged,
boolean deviceChanged)
Called when the device or display mode change. |
void |
dispose()
|
int |
getHeight()
Return the height that was given after the last resize event. |
java.awt.image.BufferedImage |
getLastScreenshot()
|
int |
getWidth()
Return the width that was given after the last resize event. |
void |
init(javax.media.opengl.GLAutoDrawable canvas)
Called when the GLDrawable is rendered for the first time. |
void |
nextDisplayUpdateScreenshot()
|
void |
reshape(javax.media.opengl.GLAutoDrawable canvas,
int x,
int y,
int width,
int height)
Called when the GLDrawable is resized. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Renderer3d(View view)
public Renderer3d(View view, boolean traceGL, boolean debugGL)
Method Detail |
---|
public void dispose()
public void init(javax.media.opengl.GLAutoDrawable canvas)
canvas.setGL( new DebugGL(canvas.getGL()) );
init
in interface javax.media.opengl.GLEventListener
public void display(javax.media.opengl.GLAutoDrawable canvas)
display
in interface javax.media.opengl.GLEventListener
public void reshape(javax.media.opengl.GLAutoDrawable canvas, int x, int y, int width, int height)
reshape
in interface javax.media.opengl.GLEventListener
public void displayChanged(javax.media.opengl.GLAutoDrawable canvas, boolean modeChanged, boolean deviceChanged)
displayChanged
in interface javax.media.opengl.GLEventListener
public void nextDisplayUpdateScreenshot()
public java.awt.image.BufferedImage getLastScreenshot()
public int getWidth()
public int getHeight()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |