Class PanamaGLDepthPeeling
java.lang.Object
org.jzy3d.plot3d.rendering.ddp.PanamaGLDepthPeeling
Render the charts of any PanamaGL chart factory with depth peeling, whatever its toolkit (Swing,
JavaFX, SWT) or offscreen.
ChartFactory factory = PanamaGLDepthPeeling.enable(new PanamaGLJavaFXChartFactory(), PeelingMethod.DUAL_PEELING_MODE);
Chart chart = factory.newChart();
PanamaGLDepthPeelingChartFactory does the same for Swing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends IChartFactory>
Tdisable(T factory) Make the charts created afterward by this factory render without depth peeling.static <T extends IChartFactory>
Tenable(T factory, PeelingMethod method) Make the charts created afterward by this factory render with depth peeling.
-
Constructor Details
-
PanamaGLDepthPeeling
public PanamaGLDepthPeeling()
-
-
Method Details
-
enable
Make the charts created afterward by this factory render with depth peeling.- Throws:
IllegalArgumentException- if the factory does not render with PanamaGL.
-
disable
Make the charts created afterward by this factory render without depth peeling.
-