Class EmulGLViewAndColorbarsLayout
java.lang.Object
org.jzy3d.plot3d.rendering.view.layout.ViewAndColorbarsLayout
org.jzy3d.plot3d.rendering.view.layout.EmulGLViewAndColorbarsLayout
- All Implemented Interfaces:
IViewportLayout
-
Field Summary
Fields inherited from class org.jzy3d.plot3d.rendering.view.layout.ViewAndColorbarsLayout
backgroundViewport, chart, hasColorbars, legendsWidth, sceneViewport, screenSeparator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
renderLegends
(IPainter painter, float left, float right, List<ILegend> legends, ICanvas canvas) This override allows Shifting artificially the complete jGL viewport to let some place for a colorbar rendering.void
protected int
updateAndGetMinDimensions
(IPainter painter, ILegend legend) Methods inherited from class org.jzy3d.plot3d.rendering.view.layout.ViewAndColorbarsLayout
computeSeparator, computeSeparator, getBackgroundViewport, getChart, getLegends, getLegends, getLegendsWidth, getSceneViewport, render, renderLegends, renderView, setChart, updateLegendsWidth
-
Constructor Details
-
EmulGLViewAndColorbarsLayout
public EmulGLViewAndColorbarsLayout()
-
-
Method Details
-
update
- Specified by:
update
in interfaceIViewportLayout
- Overrides:
update
in classViewAndColorbarsLayout
-
updateAndGetMinDimensions
- Overrides:
updateAndGetMinDimensions
in classViewAndColorbarsLayout
-
renderLegends
protected void renderLegends(IPainter painter, float left, float right, List<ILegend> legends, ICanvas canvas) This override allows- Shifting artificially the complete jGL viewport to let some place for a colorbar rendering.
- Rendering the image using jGL dedicated image management
(
invalid @link
GL#appendImageToDraw(BufferedImage, int, int)
- Overrides:
renderLegends
in classViewAndColorbarsLayout
-