Package de.gsi.chart.renderer.spi
Class AbstractContourDataSetRendererParameter<R extends AbstractContourDataSetRendererParameter<R>>
- java.lang.Object
-
- de.gsi.chart.renderer.spi.AbstractDataSetManagement<R>
-
- de.gsi.chart.renderer.spi.AbstractPointReductionManagment<R>
-
- de.gsi.chart.renderer.spi.AbstractContourDataSetRendererParameter<R>
-
- All Implemented Interfaces:
Renderer
- Direct Known Subclasses:
ContourDataSetRenderer
public abstract class AbstractContourDataSetRendererParameter<R extends AbstractContourDataSetRendererParameter<R>> extends AbstractPointReductionManagment<R>
-
-
Field Summary
-
Fields inherited from class de.gsi.chart.renderer.spi.AbstractDataSetManagement
showInLegend
-
-
Constructor Summary
Constructors Constructor Description AbstractContourDataSetRendererParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.BooleanPropertyaltImplementationProperty()Property to track internal alternate implementation.javafx.beans.property.ObjectProperty<ColorGradient>colorGradientProperty()Color gradient (linear) used to encode data point values.booleancomputeLocalRange()Returns the value of thecomputeLocalRangeProperty().javafx.beans.property.BooleanPropertycomputeLocalRangeProperty()Indicates if the chart should compute the min/max z-Axis for the local (true) or global (false) visible rangejavafx.beans.property.ObjectProperty<ContourType>contourTypeProperty()Indicates if the chart should plot contours (true) or color gradient map (false)ColorGradientgetColorGradient()Returns the value of thecolorGradientProperty().ContourTypegetContourType()Returns the value of thecontourTypeProperty().intgetMaxContourSegments()intgetMinHexTileSizeProperty()intgetNumberQuantisationLevels()intgetReductionFactorX()intgetReductionFactorY()ReductionTypegetReductionType()booleanisAltImplementation()This is used to compare different implementation and to potentially fall-back to an older reference implementationbooleanisSmooth()Returns the value of thesmoothProperty().javafx.beans.property.IntegerPropertymaxContourSegmentsProperty()javafx.beans.property.IntegerPropertyminHexTileSizeProperty()javafx.beans.property.IntegerPropertyquantisationLevelsProperty()javafx.beans.property.IntegerPropertyreductionFactorXProperty()javafx.beans.property.IntegerPropertyreductionFactorYProperty()javafx.beans.property.ObjectProperty<ReductionType>reductionTypeProperty()voidsetAltImplementation(boolean state)This is used to compare different implementation and to potentially fall-back to an older reference implementationvoidsetColorGradient(ColorGradient value)Sets the value of thecolorGradientProperty().voidsetComputeLocalRange(boolean value)Sets the value of thecomputeLocalRangeProperty().voidsetContourType(ContourType value)Sets the value of thecontourTypeProperty().voidsetMaxContourSegments(int nSegments)suppresses contour segments being drawn that have more than the specified number of sub-segmentsvoidsetMinHexTileSizeProperty(int minSize)voidsetNumberQuantisationLevels(int nQuantisation)voidsetReductionFactorX(int factor)voidsetReductionFactorY(int factor)voidsetReductionType(ReductionType value)voidsetSmooth(boolean value)Sets the value of thesmoothProperty().javafx.beans.property.BooleanPropertysmoothProperty()Indicates if the chart should smooth colors between data points or render each data point as a rectangle with uniform color.-
Methods inherited from class de.gsi.chart.renderer.spi.AbstractPointReductionManagment
actualPointReductionProperty, assumeSortedDataProperty, getMinRequiredReductionSize, isActualReducePoints, isAssumeSortedData, isParallelImplementation, isReducePoints, minRequiredReductionSizeProperty, parallelImplementationProperty, pointReductionProperty, setAssumeSortedData, setMinRequiredReductionSize, setParallelImplementation, setPointReduction
-
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
-
altImplementationProperty
public javafx.beans.property.BooleanProperty altImplementationProperty()
Property to track internal alternate implementation. This is used to compare different implementation and to potentially fall-back to an older reference implementation- Returns:
- altImplementation property
-
colorGradientProperty
public javafx.beans.property.ObjectProperty<ColorGradient> colorGradientProperty()
Color gradient (linear) used to encode data point values.- Returns:
- gradient property
-
computeLocalRange
public boolean computeLocalRange()
Returns the value of thecomputeLocalRangeProperty().- Returns:
trueif the local range calculation is applied,falseotherwise
-
computeLocalRangeProperty
public javafx.beans.property.BooleanProperty computeLocalRangeProperty()
Indicates if the chart should compute the min/max z-Axis for the local (true) or global (false) visible range- Returns:
- computeLocalRange property
-
contourTypeProperty
public javafx.beans.property.ObjectProperty<ContourType> contourTypeProperty()
Indicates if the chart should plot contours (true) or color gradient map (false)- Returns:
- plotContourProperty property
-
getColorGradient
public ColorGradient getColorGradient()
Returns the value of thecolorGradientProperty().- Returns:
- the color gradient used for encoding data values
-
getContourType
public ContourType getContourType()
Returns the value of thecontourTypeProperty().- Returns:
- if the chart should plot contours (true) or color gradient map (false)
-
getMaxContourSegments
public int getMaxContourSegments()
- Returns:
- the maximum number of segments for which a contour is being drawn
-
getMinHexTileSizeProperty
public int getMinHexTileSizeProperty()
-
getNumberQuantisationLevels
public int getNumberQuantisationLevels()
-
getReductionFactorX
public int getReductionFactorX()
-
getReductionFactorY
public int getReductionFactorY()
-
getReductionType
public ReductionType getReductionType()
-
isAltImplementation
public boolean isAltImplementation()
This is used to compare different implementation and to potentially fall-back to an older reference implementation- Returns:
trueif alternate implementation is being used
-
isSmooth
public boolean isSmooth()
Returns the value of thesmoothProperty().- Returns:
trueif the smoothing should be applied,falseotherwise
-
maxContourSegmentsProperty
public javafx.beans.property.IntegerProperty maxContourSegmentsProperty()
- Returns:
- the property controlling the maximum number of sub-segments allowed for a contour to be drawn.
-
minHexTileSizeProperty
public javafx.beans.property.IntegerProperty minHexTileSizeProperty()
-
quantisationLevelsProperty
public javafx.beans.property.IntegerProperty quantisationLevelsProperty()
-
reductionFactorXProperty
public javafx.beans.property.IntegerProperty reductionFactorXProperty()
-
reductionFactorYProperty
public javafx.beans.property.IntegerProperty reductionFactorYProperty()
-
reductionTypeProperty
public javafx.beans.property.ObjectProperty<ReductionType> reductionTypeProperty()
-
setAltImplementation
public void setAltImplementation(boolean state)
This is used to compare different implementation and to potentially fall-back to an older reference implementation- Parameters:
state-trueif alternate implementation is being used
-
setColorGradient
public void setColorGradient(ColorGradient value)
Sets the value of thecolorGradientProperty().- Parameters:
value- the gradient to be used
-
setComputeLocalRange
public void setComputeLocalRange(boolean value)
Sets the value of thecomputeLocalRangeProperty().- Parameters:
value-trueif the local range calculation is applied,falseotherwise
-
setContourType
public void setContourType(ContourType value)
Sets the value of thecontourTypeProperty().- Parameters:
value- if the chart should plot contours (true) or color gradient map (false)
-
setMaxContourSegments
public void setMaxContourSegments(int nSegments)
suppresses contour segments being drawn that have more than the specified number of sub-segments- Parameters:
nSegments- the maximum number of segments
-
setMinHexTileSizeProperty
public void setMinHexTileSizeProperty(int minSize)
-
setNumberQuantisationLevels
public void setNumberQuantisationLevels(int nQuantisation)
-
setReductionFactorX
public void setReductionFactorX(int factor)
-
setReductionFactorY
public void setReductionFactorY(int factor)
-
setReductionType
public void setReductionType(ReductionType value)
-
setSmooth
public void setSmooth(boolean value)
Sets the value of thesmoothProperty().- Parameters:
value-trueto enable smoothing
-
smoothProperty
public javafx.beans.property.BooleanProperty smoothProperty()
Indicates if the chart should smooth colors between data points or render each data point as a rectangle with uniform color.By default smoothing is disabled.
- Returns:
- smooth property
- See Also:
ImageView.setFitWidth(double),ImageView.setFitHeight(double),ImageView.setSmooth(boolean)
-
-