Class DepthPeelingChartFactory

All Implemented Interfaces:
IChartFactory

public class DepthPeelingChartFactory extends AWTChartFactory
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();
  • Constructor Details

    • DepthPeelingChartFactory

      public DepthPeelingChartFactory()
    • DepthPeelingChartFactory

      public DepthPeelingChartFactory(IPainterFactory painterFactory)
  • Method Details

    • newGraph

      public org.jzy3d.plot3d.rendering.scene.Graph newGraph(org.jzy3d.plot3d.rendering.scene.Scene scene, org.jzy3d.plot3d.rendering.ordering.AbstractOrderingStrategy strategy, boolean sort)
      Specified by:
      newGraph in interface IChartFactory
      Overrides:
      newGraph in class ChartFactory