org.jzy3d.plot3d.rendering.canvas
Interface IScreenCanvas
- All Superinterfaces:
- ICanvas
- All Known Implementing Classes:
- CanvasAWT, CanvasNewtAwt, CanvasSwing
public interface IScreenCanvas
- extends ICanvas
An IScreenCanvas
defines a panel into which rendering occurs,
and that can be integrated in an existing GUI. An IScreenCanvas
implementation allows to render 3d content for a given Windowing toolkit:
CanvasAWT
is a base implementation suitable for AWT, Swing or SWT applications.
CanvasNewtAwt
is a new implementation (since 0.9.1) using JOGL's recommended windowing toolkit.
CanvasSwing
is a deprecated implementation for Swing (since 0.9.1)
An IScreenCanvas
provides access to an Animator
instance.
This offers the alternative of repaint-on-demand-model based on Controllers,
and repaint-continuously model based on the Animator (default behaviour).
The actual IScreenCanvas
initialize by a given chart will depend on:
- The Windowing toolkit parameter of the chart (new Chart("awt"))
- The Windowing toolkit parameters supported by
ChartComponentFactory.initializeCanvas(...)
In other word, if creating another canvas implementation is required,
simply extends the component factory.
- Author:
- Martin Pernollet
Methods inherited from interface org.jzy3d.plot3d.rendering.canvas.ICanvas |
addKeyController, addMouseController, dispose, forceRepaint, getDebugInfo, getDrawable, getRenderer, getRendererHeight, getRendererWidth, getView, removeKeyController, removeMouseController, screenshot, screenshot |
display
void display()
getAnimator
javax.media.opengl.GLAnimatorControl getAnimator()
Copyright © 2013. All rights reserved.