org.jzy3d.chart
Class Chart
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chart
public Chart()
Chart
public Chart(Quality quality)
Chart
public Chart(java.lang.String chartType)
Chart
public Chart(Quality quality,
java.lang.String chartType)
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)