public final class DefaultDecimation extends Object implements IsDefaultDecimation
| Modifier and Type | Method and Description |
|---|---|
DecimationAlgorithm |
getAlgorithm()
Returns the algorithm used by the plugin.
|
double |
getSamples()
If the
DecimationAlgorithm.LTTB algorithm is used, this is the number of samples in the output data set.Defaults to the canvas width to pick 1 sample per pixel. |
boolean |
isEnabled()
Returns
true if decimation are enabled. |
public boolean isEnabled()
IsDefaultDecimationtrue if decimation are enabled.isEnabled in interface IsDefaultDecimationtrue if decimation are enabled.public DecimationAlgorithm getAlgorithm()
IsDefaultDecimationgetAlgorithm in interface IsDefaultDecimationpublic double getSamples()
IsDefaultDecimationDecimationAlgorithm.LTTB algorithm is used, this is the number of samples in the output data set.getSamples in interface IsDefaultDecimation