Class PanamaGLCanvas

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, org.jzy3d.plot3d.rendering.canvas.ICanvas, org.jzy3d.plot3d.rendering.canvas.IScreenCanvas

public class PanamaGLCanvas extends JPanel implements org.jzy3d.plot3d.rendering.canvas.IScreenCanvas
See Also:
  • Field Details

    • pixelScaleX

      protected double pixelScaleX
    • pixelScaleY

      protected double pixelScaleY
    • view

      protected org.jzy3d.plot3d.rendering.view.View view
    • renderer

      protected Renderer3D renderer
    • animator

      protected org.jzy3d.chart.IAnimator animator
    • canvasListeners

      protected List<org.jzy3d.plot3d.rendering.canvas.ICanvasListener> canvasListeners
    • glCanvas

      protected GLCanvasSwing glCanvas
  • Constructor Details

    • PanamaGLCanvas

      public PanamaGLCanvas(org.jzy3d.chart.factories.IChartFactory factory, org.jzy3d.plot3d.rendering.scene.Scene scene, org.jzy3d.plot3d.rendering.canvas.Quality quality, GLCanvasSwing glCanvas)
  • Method Details

    • getGLCanvas

      public GLCanvas getGLCanvas()
    • getGLEventListener

      public GLEventListener getGLEventListener()
    • setGLEventListener

      public void setGLEventListener(GLEventListener glEvents)
    • isNative

      public boolean isNative()
      Specified by:
      isNative in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getView

      public org.jzy3d.plot3d.rendering.view.View getView()
      Specified by:
      getView in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getRendererWidth

      public int getRendererWidth()
      Specified by:
      getRendererWidth in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getRendererHeight

      public int getRendererHeight()
      Specified by:
      getRendererHeight in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • screenshot

      public void screenshot(File file) throws IOException
      Specified by:
      screenshot in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
      Throws:
      IOException
    • screenshot

      public Object screenshot()
      Specified by:
      screenshot in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • display

      public void display()
      Specified by:
      display in interface org.jzy3d.plot3d.rendering.canvas.IScreenCanvas
    • forceRepaint

      public void forceRepaint()
      Specified by:
      forceRepaint in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • dispose

      public void dispose()
      Specified by:
      dispose in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • addMouseController

      public void addMouseController(Object o)
      Specified by:
      addMouseController in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • addKeyController

      public void addKeyController(Object o)
      Specified by:
      addKeyController in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • removeMouseController

      public void removeMouseController(Object o)
      Specified by:
      removeMouseController in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • removeKeyController

      public void removeKeyController(Object o)
      Specified by:
      removeKeyController in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getDebugInfo

      public String getDebugInfo()
      Specified by:
      getDebugInfo in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • setPixelScale

      public void setPixelScale(float[] scale)
      Specified by:
      setPixelScale in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getPixelScale

      public org.jzy3d.maths.Coord2d getPixelScale()
      Specified by:
      getPixelScale in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getPixelScaleJVM

      public org.jzy3d.maths.Coord2d getPixelScaleJVM()
      Specified by:
      getPixelScaleJVM in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getLastRenderingTimeMs

      public double getLastRenderingTimeMs()
      Specified by:
      getLastRenderingTimeMs in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • addCanvasListener

      public void addCanvasListener(org.jzy3d.plot3d.rendering.canvas.ICanvasListener listener)
      Specified by:
      addCanvasListener in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • removeCanvasListener

      public void removeCanvasListener(org.jzy3d.plot3d.rendering.canvas.ICanvasListener listener)
      Specified by:
      removeCanvasListener in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getCanvasListeners

      public List<org.jzy3d.plot3d.rendering.canvas.ICanvasListener> getCanvasListeners()
      Specified by:
      getCanvasListeners in interface org.jzy3d.plot3d.rendering.canvas.ICanvas
    • getAnimation

      public org.jzy3d.chart.IAnimator getAnimation()
      Specified by:
      getAnimation in interface org.jzy3d.plot3d.rendering.canvas.IScreenCanvas
    • getDimension

      public org.jzy3d.maths.Dimension getDimension()
      Specified by:
      getDimension in interface org.jzy3d.plot3d.rendering.canvas.ICanvas