org.jzy3d.chart
Class ChartScene

java.lang.Object
  extended by org.jzy3d.plot3d.rendering.scene.Scene
      extended by org.jzy3d.chart.ChartScene

public class ChartScene
extends Scene

The ChartScene provides ChartView to its target canvases and set a BarycentreOrderingStrategy as polygon ordering method.

Author:
Martin Pernollet

Field Summary
protected  int nview
           
protected  View view
           
 
Fields inherited from class org.jzy3d.plot3d.rendering.scene.Scene
graph, lightSet, views
 
Constructor Summary
ChartScene()
           
ChartScene(boolean graphsort)
           
 
Method Summary
 void clear()
           
 void clearView(View view)
           
protected  View initializeChartView(Scene scene, ICanvas canvas, Quality quality)
           
 View newView(ICanvas canvas, Quality quality)
          Instantiate a View attached to the given Canvas, and return its reference.
 
Methods inherited from class org.jzy3d.plot3d.rendering.scene.Scene
add, add, add, add, dispose, getGraph, getLightSet, remove, remove, remove, setGraph, setLightSet, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nview

protected int nview

view

protected View view
Constructor Detail

ChartScene

public ChartScene()

ChartScene

public ChartScene(boolean graphsort)
Method Detail

clear

public void clear()

newView

public View newView(ICanvas canvas,
                    Quality quality)
Description copied from class: Scene
Instantiate a View attached to the given Canvas, and return its reference.

Overrides:
newView in class Scene

clearView

public void clearView(View view)
Overrides:
clearView in class Scene

initializeChartView

protected View initializeChartView(Scene scene,
                                   ICanvas canvas,
                                   Quality quality)