Package de.gsi.chart.renderer.spi
Class AbstractPointReductionManagment<R extends AbstractPointReductionManagment<R>>
- java.lang.Object
-
- de.gsi.chart.renderer.spi.AbstractDataSetManagement<R>
-
- de.gsi.chart.renderer.spi.AbstractPointReductionManagment<R>
-
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
AbstractContourDataSetRendererParameter
,AbstractErrorDataSetRendererParameter
public abstract class AbstractPointReductionManagment<R extends AbstractPointReductionManagment<R>> extends AbstractDataSetManagement<R>
-
-
Field Summary
-
Fields inherited from class de.gsi.chart.renderer.spi.AbstractDataSetManagement
showInLegend
-
-
Constructor Summary
Constructors Constructor Description AbstractPointReductionManagment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.ReadOnlyBooleanProperty
actualPointReductionProperty()
Indicates whether point reduction is active.javafx.beans.property.BooleanProperty
assumeSortedDataProperty()
Disable this if you have data which is not monotonic in x-direction.int
getMinRequiredReductionSize()
boolean
isActualReducePoints()
Indicates whether point reduction is active.boolean
isAssumeSortedData()
Disable this if you have data which is not monotonic in x-direction.boolean
isParallelImplementation()
whether renderer should aim at parallelising sub-functionalitiesboolean
isReducePoints()
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average.javafx.beans.property.IntegerProperty
minRequiredReductionSizeProperty()
javafx.beans.property.BooleanProperty
parallelImplementationProperty()
Sets whether renderer should aim at parallelising sub-functionalitiesjavafx.beans.property.BooleanProperty
pointReductionProperty()
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average.R
setAssumeSortedData(boolean state)
Disable this if you have data which is not monotonic in x-direction.R
setMinRequiredReductionSize(int size)
R
setParallelImplementation(boolean state)
Sets whether renderer should aim at parallelising sub-functionalitiesR
setPointReduction(boolean state)
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average.-
Methods inherited from class de.gsi.chart.renderer.spi.AbstractDataSetManagement
getAxes, getDatasets, getDatasetsCopy, getDatasetsCopy, getFirstAxis, getFirstAxis, getThis, setShowInLegend, showInLegend, showInLegendProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.gsi.chart.renderer.Renderer
drawLegendSymbol, render
-
-
-
-
Method Detail
-
actualPointReductionProperty
public javafx.beans.property.ReadOnlyBooleanProperty actualPointReductionProperty()
Indicates whether point reduction is active.- Returns:
- true if data points are supposed to be reduced
-
assumeSortedDataProperty
public javafx.beans.property.BooleanProperty assumeSortedDataProperty()
Disable this if you have data which is not monotonic in x-direction. This setting can increase rendering time drastically because lots of off screen points might have to be rendered.- Returns:
- true if data points are supposed to be sorted
-
getMinRequiredReductionSize
public int getMinRequiredReductionSize()
- Returns:
- the minimum number of samples before performing data reduction
-
isActualReducePoints
public boolean isActualReducePoints()
Indicates whether point reduction is active.- Returns:
- true if point reduction is on (default) else false.
-
isAssumeSortedData
public boolean isAssumeSortedData()
Disable this if you have data which is not monotonic in x-direction. This setting can increase rendering time drastically because lots of off screen points might have to be rendered.- Returns:
- true if points should be assumed to be sorted (default)
-
isParallelImplementation
public boolean isParallelImplementation()
whether renderer should aim at parallelising sub-functionalities- Returns:
- true if renderer is parallelising sub-functionalities
-
isReducePoints
public boolean isReducePoints()
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average. Note that the point Reduction is also disabled implicitly by assumeSortedData = false, check the read only actualDataPointReduction Property.- Returns:
- true if point reduction is on (default) else false.
-
minRequiredReductionSizeProperty
public javafx.beans.property.IntegerProperty minRequiredReductionSizeProperty()
-
parallelImplementationProperty
public javafx.beans.property.BooleanProperty parallelImplementationProperty()
Sets whether renderer should aim at parallelising sub-functionalities- Returns:
- true if data points are supposed to be reduced
-
pointReductionProperty
public javafx.beans.property.BooleanProperty pointReductionProperty()
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average.- Returns:
- true if data points are supposed to be reduced
-
setAssumeSortedData
public R setAssumeSortedData(boolean state)
Disable this if you have data which is not monotonic in x-direction. This setting can increase rendering time drastically because lots of off screen points might have to be rendered.- Parameters:
state
- true if data points are supposed to be sorted- Returns:
- itself (fluent design)
-
setMinRequiredReductionSize
public R setMinRequiredReductionSize(int size)
- Parameters:
size
- the minimum number of samples before performing data reduction- Returns:
- itself (fluent design)
-
setParallelImplementation
public R setParallelImplementation(boolean state)
Sets whether renderer should aim at parallelising sub-functionalities- Parameters:
state
- true if renderer is parallelising sub-functionalities- Returns:
- itself (fluent design)
-
setPointReduction
public R setPointReduction(boolean state)
Sets whether superfluous points, otherwise drawn on the same pixel area, are merged and represented by the multiple point average.- Parameters:
state
- true if data points are supposed to be reduced- Returns:
- itself (fluent design)
-
-