|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jzy3d.plot3d.rendering.canvas.VoidCanvas
public class VoidCanvas
Field Summary | |
---|---|
protected static String |
INFO
|
protected Renderer3d |
renderer
|
protected View |
view
|
Constructor Summary | |
---|---|
VoidCanvas(IChartComponentFactory factory,
Scene scene,
Quality quality)
|
Method Summary | |
---|---|
void |
addKeyController(Object o)
A generic interface for mouse listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible mouse listener. |
void |
addMouseController(Object o)
A generic interface for mouse listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible mouse listener. |
void |
dispose()
Performs all required cleanup when destroying a Canvas. |
void |
forceRepaint()
Invoked when a user requires the Canvas to be repainted (e.g. a non 3d layer has changed). |
String |
getDebugInfo()
|
javax.media.opengl.GLDrawable |
getDrawable()
Returns the GLDrawable associated with the canvas |
Renderer3d |
getRenderer()
|
int |
getRendererHeight()
Returns the renderer's height, i.e. the display height. |
int |
getRendererWidth()
Returns the renderer's width, i.e. the display width. |
View |
getView()
Returns a reference to the held view. |
void |
removeKeyController(Object o)
A generic interface for key listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible key listener. |
void |
removeMouseController(Object o)
A generic interface for key listener to remain Windowing toolkit independant. * Implementation of this method should simply cast the input assuming it will correspond to canvas-compatible key listener. |
com.jogamp.opengl.util.texture.TextureData |
screenshot()
Returns an image with the current renderer's size |
com.jogamp.opengl.util.texture.TextureData |
screenshot(File file)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected View view
protected Renderer3d renderer
protected static String INFO
Constructor Detail |
---|
public VoidCanvas(IChartComponentFactory factory, Scene scene, Quality quality)
Method Detail |
---|
public View getView()
ICanvas
getView
in interface ICanvas
public javax.media.opengl.GLDrawable getDrawable()
ICanvas
getDrawable
in interface ICanvas
public int getRendererWidth()
ICanvas
getRendererWidth
in interface ICanvas
public int getRendererHeight()
ICanvas
getRendererHeight
in interface ICanvas
public Renderer3d getRenderer()
getRenderer
in interface ICanvas
public void forceRepaint()
ICanvas
forceRepaint
in interface ICanvas
public com.jogamp.opengl.util.texture.TextureData screenshot()
ICanvas
screenshot
in interface ICanvas
public com.jogamp.opengl.util.texture.TextureData screenshot(File file) throws IOException
screenshot
in interface ICanvas
IOException
public void dispose()
ICanvas
dispose
in interface ICanvas
public void addMouseController(Object o)
ICanvas
addMouseController
in interface ICanvas
public void addKeyController(Object o)
ICanvas
addKeyController
in interface ICanvas
public void removeMouseController(Object o)
ICanvas
removeMouseController
in interface ICanvas
public void removeKeyController(Object o)
ICanvas
removeKeyController
in interface ICanvas
public String getDebugInfo()
getDebugInfo
in interface ICanvas
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |