com.jzy3d.surfedit.chart
Class InteractiveChart
java.lang.Object
org.jzy3d.chart.Chart
com.jzy3d.surfedit.chart.InteractiveChart
public class InteractiveChart
- extends org.jzy3d.chart.Chart
A standard Chart
based on a InteractiveView
, and hiding few details
concerning mouse and key controllers initialization, as well as enabling
communication between the CompositeInteractiveSurface
, its MouseController
and its KeyController
.
- Author:
- Martin Pernollet
- See Also:
InteractiveView}
Methods inherited from class org.jzy3d.chart.Chart |
addController, addDrawable, addDrawable, addDrawable, addDrawable, addRenderer, clear, dispose, flip, getAxeLayout, getCanvas, getScale, getScene, getView, getViewMode, getViewPoint, removeController, removeDrawable, removeDrawable, removeRenderer, render, screenshot, setAxeDisplayed, setScale, setScale, setViewMode, setViewPoint, updateProjectionsAndRender |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Z_OFFSET_DEFAULT
public static float Z_OFFSET_DEFAULT
InteractiveChart
public InteractiveChart()
InteractiveChart
public InteractiveChart(org.jzy3d.plot3d.rendering.canvas.Quality quality)
InteractiveChart
public InteractiveChart(org.jzy3d.plot3d.rendering.canvas.Quality quality,
java.lang.String mode)
InteractiveChart
public InteractiveChart(java.lang.String mode)
openPrimarySurface
public IInteractiveSurface openPrimarySurface(com.jzy3d.surfedit.data.MapData feed,
float zmin,
float zmax,
float[] zticks,
float alpha)
- A helper to create surface and configure it properly with respect to the mouse
and keyboard controllers.
openPrimarySurface
public IInteractiveSurface openPrimarySurface(com.jzy3d.surfedit.data.MapData feed,
float zmin,
float zmax,
float[] zticks)
openSecondarySurface
public IInteractiveSurface openSecondarySurface(com.jzy3d.surfedit.data.MapData feed,
float alpha)
getSurfaceFactory
public IInteractiveSurfaceFactory getSurfaceFactory()
setSurfaceFactory
public void setSurfaceFactory(IInteractiveSurfaceFactory factory)
addPrimarySurface
public void addPrimarySurface(IInteractiveSurface surface)
getPrimarySurface
public IInteractiveSurface getPrimarySurface()
removePrimarySurface
public void removePrimarySurface(boolean updateDisplay)
addSecondarySurface
public void addSecondarySurface(IInteractiveSurface surface)
getSecondarySurface
public IInteractiveSurface getSecondarySurface()
removeSecondarySurface
public void removeSecondarySurface(boolean updateDisplay)
reset
public void reset()
- Reset selection and update chart view
getMouseController
public MouseController getMouseController()
getKeyController
public KeyController getKeyController()
setZChangedListeners
public void setZChangedListeners(java.util.List<ZChangedListener> listeners)
getZChangedListeners
public java.util.List<ZChangedListener> getZChangedListeners()
addZChangedListener
public boolean addZChangedListener(ZChangedListener listener)
removeZChangedListener
public boolean removeZChangedListener(ZChangedListener listener)
fireValueChangedEvent
public void fireValueChangedEvent(ZChangedEvent e)
editSelectedCellsZValues
public void editSelectedCellsZValues(float value)
- Fires one ZChangedEvent per changed cell.