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
The sole purpose of this factory is to disable sorting drawable by scene's
Graph
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
-
Method Summary
Modifier and TypeMethodDescriptionnewGraph
(Scene scene, AbstractOrderingStrategy strategy, boolean sort) Methods inherited from class org.jzy3d.chart.factories.AWTChartFactory
chart, chart, getFactory, newChart, newChart, newChart, newView
Methods inherited from class org.jzy3d.chart.factories.ChartFactory
getPainterFactory, newAxe, newBoundingPolicy, newCamera, newCameraThreadController, newOrderingStrategy, newScene, newSerie, newView, setPainterFactory
-
Constructor Details
-
DepthPeelingChartFactory
public DepthPeelingChartFactory() -
DepthPeelingChartFactory
-
-
Method Details
-
newGraph
- Specified by:
newGraph
in interfaceIChartFactory
- Overrides:
newGraph
in classChartFactory
-