org.jzy3d.chart
Class Chart

java.lang.Object
  extended by org.jzy3d.chart.Chart
Direct Known Subclasses:
GraphChart

public class Chart
extends java.lang.Object

Chart is a convenient object that gather all components required to render a 3d scene for plotting. The chart Quality enable the following functionalities:

Author:
Martin Pernollet

Constructor Summary
Chart()
           
Chart(Quality quality)
           
Chart(Quality quality, java.lang.String chartType)
           
Chart(java.lang.String chartType)
           
 
Method Summary
 void addController(ChartCameraController controller)
          Add a ChartCameraController to this Chart.
 void addDrawable(AbstractDrawable drawable)
           
 void addDrawable(AbstractDrawable drawable, boolean updateViews)
           
 void addDrawable(java.util.List<? extends AbstractDrawable> drawables)
           
 void addDrawable(java.util.List<? extends AbstractDrawable> drawables, boolean updateViews)
           
 void addRenderer(Renderer2d renderer2d)
           
 void clear()
           
 void dispose()
           
 float flip(float y)
           
 IAxeLayout getAxeLayout()
           
 ICanvas getCanvas()
           
 Scale getScale()
           
 ChartScene getScene()
           
 ChartView getView()
           
 ViewPositionMode getViewMode()
           
 Coord3d getViewPoint()
           
 void removeController(ChartCameraController controller)
           
 void removeDrawable(AbstractDrawable drawable)
           
 void removeDrawable(AbstractDrawable drawable, boolean updateViews)
           
 void removeRenderer(Renderer2d renderer2d)
           
 void render()
           
 java.awt.image.BufferedImage screenshot()
           
 void setAxeDisplayed(boolean status)
           
 void setScale(Scale scale)
           
 void setScale(Scale scale, boolean notify)
           
 void setViewMode(ViewPositionMode mode)
           
 void setViewPoint(Coord3d viewPoint)
           
 void updateProjectionsAndRender()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Chart

public Chart()

Chart

public Chart(Quality quality)

Chart

public Chart(java.lang.String chartType)

Chart

public Chart(Quality quality,
             java.lang.String chartType)
Method Detail

clear

public void clear()

dispose

public void dispose()

render

public void render()

screenshot

public java.awt.image.BufferedImage screenshot()

updateProjectionsAndRender

public void updateProjectionsAndRender()

addController

public void addController(ChartCameraController controller)
Add a ChartCameraController to this Chart. Warning: the Chart is not the owner of the controller. Disposing the chart thus just unregisters the controllers, but does not handle stopping and disposing controllers.


removeController

public void removeController(ChartCameraController controller)

addDrawable

public void addDrawable(AbstractDrawable drawable)

addDrawable

public void addDrawable(AbstractDrawable drawable,
                        boolean updateViews)

addDrawable

public void addDrawable(java.util.List<? extends AbstractDrawable> drawables,
                        boolean updateViews)

addDrawable

public void addDrawable(java.util.List<? extends AbstractDrawable> drawables)

removeDrawable

public void removeDrawable(AbstractDrawable drawable)

removeDrawable

public void removeDrawable(AbstractDrawable drawable,
                           boolean updateViews)

addRenderer

public void addRenderer(Renderer2d renderer2d)

removeRenderer

public void removeRenderer(Renderer2d renderer2d)

getView

public ChartView getView()

getScene

public ChartScene getScene()

getCanvas

public ICanvas getCanvas()

getAxeLayout

public IAxeLayout getAxeLayout()

setAxeDisplayed

public void setAxeDisplayed(boolean status)

setViewPoint

public void setViewPoint(Coord3d viewPoint)

getViewPoint

public Coord3d getViewPoint()

setViewMode

public void setViewMode(ViewPositionMode mode)

getViewMode

public ViewPositionMode getViewMode()

setScale

public void setScale(Scale scale,
                     boolean notify)

setScale

public void setScale(Scale scale)

getScale

public Scale getScale()

flip

public float flip(float y)