Class EmulGLPainterFactory
java.lang.Object
org.jzy3d.chart.factories.EmulGLPainterFactory
- All Implemented Interfaces:
IPainterFactory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IChartFactoryprotected booleanprotected intprotected EmulGLCanvasprotected EmulGLPainterprotected booleanprotected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()booleanbooleanprotected voidlink(int width, int height) newAnimator(ICanvas canvas) newCanvas(IChartFactory factory, Scene scene, Quality quality) protected EmulGLCanvasnewEmulGLCanvas(IChartFactory factory, Scene scene, Quality quality) newKeyboardCameraController(Chart chart) newMouseCameraController(Chart chart) newMousePickingController(Chart chart, int clickWidth) newRateLimiter(Chart chart) newRateLimiter(EmulGLCanvas canvas) newSymbolHandler(IImageWrapper image) This override intend to use jGL image rendering fallback based on AWT to render colorbar.voidsetChartFactory(IChartFactory chartFactory) voidsetDebugGL(boolean debugGL) If true, will let GL triggerif an error occur in OpenGL which ease debugging.invalid reference
GLExceptionvoidsetOffscreen(int width, int height) voidsetOffscreen(Rectangle rectangle) void
-
Field Details
-
chartFactory
-
internalCanvas
-
internalPainter
-
offscreen
protected boolean offscreen -
width
protected int width -
height
protected int height -
debugGL
protected boolean debugGL
-
-
Constructor Details
-
EmulGLPainterFactory
public EmulGLPainterFactory()
-
-
Method Details
-
newPainter
- Specified by:
newPainterin interfaceIPainterFactory
-
newViewOverlay
- Specified by:
newViewOverlayin interfaceIPainterFactory
-
newViewportLayout
This override intend to use jGL image rendering fallback based on AWT to render colorbar. This is due to the fact that jGL hardly handles the originalprimitives.invalid reference
GL#glDrawPixel()- Specified by:
newViewportLayoutin interfaceIPainterFactory
-
newSymbolHandler
- Specified by:
newSymbolHandlerin interfaceIPainterFactory
-
newAnimator
- Specified by:
newAnimatorin interfaceIPainterFactory
-
newFrame
-
newFrame
- Specified by:
newFramein interfaceIPainterFactory
-
newCanvas
- Specified by:
newCanvasin interfaceIPainterFactory
-
newEmulGLCanvas
-
link
protected void link(int width, int height) -
newMouseCameraController
- Specified by:
newMouseCameraControllerin interfaceIPainterFactory
-
newRateLimiter
-
newRateLimiter
-
newKeyboardCameraController
- Specified by:
newKeyboardCameraControllerin interfaceIPainterFactory
-
newMousePickingController
- Specified by:
newMousePickingControllerin interfaceIPainterFactory
-
newKeyboardScreenshotController
- Specified by:
newKeyboardScreenshotControllerin interfaceIPainterFactory
-
getChartFactory
- Specified by:
getChartFactoryin interfaceIPainterFactory
-
setChartFactory
- Specified by:
setChartFactoryin interfaceIPainterFactory
-
isOffscreen
public boolean isOffscreen()- Specified by:
isOffscreenin interfaceIPainterFactory
-
setOffscreenDisabled
public void setOffscreenDisabled()- Specified by:
setOffscreenDisabledin interfaceIPainterFactory
-
setOffscreen
public void setOffscreen(int width, int height) - Specified by:
setOffscreenin interfaceIPainterFactory
-
setOffscreen
- Specified by:
setOffscreenin interfaceIPainterFactory
-
getOffscreenDimension
- Specified by:
getOffscreenDimensionin interfaceIPainterFactory
-
isDebugGL
public boolean isDebugGL()- Specified by:
isDebugGLin interfaceIPainterFactory
-
setDebugGL
public void setDebugGL(boolean debugGL) If true, will let GL triggerif an error occur in OpenGL which ease debugging. Default is false.invalid reference
GLException- Specified by:
setDebugGLin interfaceIPainterFactory
-
dispose
public void dispose()
-