Class AdaptiveRenderingPolicy
- java.lang.Object
- 
- org.jzy3d.chart.controllers.mouse.camera.AdaptiveRenderingPolicy
 
- 
 public class AdaptiveRenderingPolicy extends Object A collection of settings to allow a controller to adapt rendering quality in order to optimize performances of the chart. The actual use of these parameter is defined in the controllers such asAdaptiveMouseController.- Author:
- Martin Pernollet
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static booleanDEFAULTbooleanoptimizeByDrawingBoundingBoxOnlyIf true, the drawable will be replaced by its bounding box for rendering.booleanoptimizeByDroppingFaceAndKeepingWireframeIf true, the polygon face will be desactivated between mouse pressed and mouse release.booleanoptimizeByDroppingFaceAndKeepingWireframeWithColorIf true, the polygon face will be desactivated and wireframe will be colored according to face colors between mouse pressed and mouse release.booleanoptimizeByDroppingHiDPIIf true, HiDPI will be desactivated between mouse pressed and mouse release.booleanoptimizeByDroppingSmoothColorIf true, the polygon face coloring will be set to flat instead of smooth.booleanoptimizeByDroppingWireframeOnlyIf true, the polygon wireframe will be desactivated between mouse pressed and mouse release.booleanoptimizeByPerformanceKnowledgeIf true, the drawable settings will be the best good looking according to performace evaluation.doubleoptimizeForRenderingTimeLargerThanThe canvas rendering time threshold above which the mouse controller will apply the enabled optimization policies.RateLimiterrenderingRateLimiterthe rate limiter will ensure the canvas do not look frozen when too much mouse events.
 - 
Constructor SummaryConstructors Constructor Description AdaptiveRenderingPolicy()
 
- 
- 
- 
Field Detail- 
DEFAULTprotected static final boolean DEFAULT - See Also:
- Constant Field Values
 
 - 
optimizeByPerformanceKnowledgepublic boolean optimizeByPerformanceKnowledge If true, the drawable settings will be the best good looking according to performace evaluation. Defaults to false
 - 
renderingRateLimiterpublic RateLimiter renderingRateLimiter the rate limiter will ensure the canvas do not look frozen when too much mouse events. It may do it in an adaptive manner (e.g. when usingRateLimiterAdaptsToRenderTime. It however won't optimize performance while rotating, but mainly prevent the chart from flooding AWT Event thread to ensure display will occur for all intermediate rotation steps. Optimizing performance is done by other parameters.
 - 
optimizeForRenderingTimeLargerThanpublic double optimizeForRenderingTimeLargerThan The canvas rendering time threshold above which the mouse controller will apply the enabled optimization policies. No optimization is applied at all if the rendering time remains below this threshold.
 - 
optimizeByDroppingWireframeOnlypublic boolean optimizeByDroppingWireframeOnly If true, the polygon wireframe will be desactivated between mouse pressed and mouse release. Defaults to false
 - 
optimizeByDroppingFaceAndKeepingWireframeWithColorpublic boolean optimizeByDroppingFaceAndKeepingWireframeWithColor If true, the polygon face will be desactivated and wireframe will be colored according to face colors between mouse pressed and mouse release. Defaults to false
 - 
optimizeByDroppingFaceAndKeepingWireframepublic boolean optimizeByDroppingFaceAndKeepingWireframe If true, the polygon face will be desactivated between mouse pressed and mouse release. Defaults to false
 - 
optimizeByDroppingHiDPIpublic boolean optimizeByDroppingHiDPI If true, HiDPI will be desactivated between mouse pressed and mouse release. Defaults to false
 - 
optimizeByDroppingSmoothColorpublic boolean optimizeByDroppingSmoothColor If true, the polygon face coloring will be set to flat instead of smooth. Has no effect if the chart is configured for flat coloring. Defaults to false
 - 
optimizeByDrawingBoundingBoxOnlypublic boolean optimizeByDrawingBoundingBoxOnly If true, the drawable will be replaced by its bounding box for rendering. Defaults to false
 
- 
 
-