Package org.jzy3d.factories
Class DepthPeelingChartFactory
- java.lang.Object
-
- org.jzy3d.chart.factories.ChartFactory
-
- org.jzy3d.chart.factories.AWTChartFactory
-
- org.jzy3d.factories.DepthPeelingChartFactory
-
- All Implemented Interfaces:
IChartFactory
public class DepthPeelingChartFactory extends AWTChartFactory
The sole purpose of this factory is to disable sorting drawable by scene'sGraph
since depth peeling make it useless. This is only to improve performances. Using this factory is not a requirement. It remains possible to enable depth peeling with any native chart factory, e.g. :AWTChartFactory f = new AWTChartFactory(new DepthPeelingPainterFactory()); Chart chart = f.newChart();
-
-
Field Summary
-
Fields inherited from class org.jzy3d.chart.factories.ChartFactory
SCREENSHOT_FOLDER
-
-
Constructor Summary
Constructors Constructor Description DepthPeelingChartFactory()
DepthPeelingChartFactory(IPainterFactory painterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graph
newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
-
Methods inherited from class org.jzy3d.chart.factories.AWTChartFactory
chart, chart, getFactory, newChart, newView
-
Methods inherited from class org.jzy3d.chart.factories.ChartFactory
getPainterFactory, newAxe, newBoundingPolicy, newCamera, newCameraThreadController, newChart, newChart, newOrderingStrategy, newScene, newSerie, newView, setPainterFactory
-
-
-
-
Constructor Detail
-
DepthPeelingChartFactory
public DepthPeelingChartFactory()
-
DepthPeelingChartFactory
public DepthPeelingChartFactory(IPainterFactory painterFactory)
-
-
Method Detail
-
newGraph
public Graph newGraph(Scene scene, AbstractOrderingStrategy strategy, boolean sort)
- Specified by:
newGraph
in interfaceIChartFactory
- Overrides:
newGraph
in classChartFactory
-
-