Interface IsDefaultDecimation
-
- All Known Implementing Classes:
Decimation,DefaultChartDecimation,DefaultDecimation
public interface IsDefaultDecimationInterface to defineDefaultPluginId.DECIMATIONplugin defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DecimationAlgorithmgetAlgorithm()Returns the algorithm used by the plugin.doublegetSamples()If theDecimationAlgorithm.LTTBalgorithm is used, this is the number of samples in the output data set.
Defaults to the canvas width to pick 1 sample per pixel.doublegetThreshold()If the number of samples in the current axis range is above this value, the decimation will be triggered.
Defaults to 4 times the canvas width.
The number of point after decimation can be higher than the threshold value.booleanisEnabled()Returnstrueif decimation are enabled.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Returnstrueif decimation are enabled.- Returns:
trueif decimation are enabled.
-
getAlgorithm
DecimationAlgorithm getAlgorithm()
Returns the algorithm used by the plugin.- Returns:
- the algorithm used by the plugin
-
getSamples
double getSamples()
If theDecimationAlgorithm.LTTBalgorithm is used, this is the number of samples in the output data set.
Defaults to the canvas width to pick 1 sample per pixel.- Returns:
- the number of samples in the output data set
-
getThreshold
double getThreshold()
If the number of samples in the current axis range is above this value, the decimation will be triggered.
Defaults to 4 times the canvas width.
The number of point after decimation can be higher than the threshold value.- Returns:
- the number of samples in the current axis range is above this value, the decimation will be triggered
-
-