19 #ifndef QGSCONTRASTENHANCEMENTFUNCTION_H
20 #define QGSCONTRASTENHANCEMENTFUNCTION_H
22 #include "qgis_core.h"
44 virtual int enhance(
double value );
49 virtual bool isValueInDisplayableRange(
double value );
56 void setMaximumValue(
double value );
63 void setMinimumValue(
double value );
94 double mMaximumValuePossible = std::numeric_limits< double >::max()
SIP_SKIP;
95 double mMinimumValuePossible = std::numeric_limits<
double >::lowest()
SIP_SKIP;
DataType
Raster data types.
A contrast enhancement function is the base class for all raster contrast enhancements.
double mMaximumValue
User defineable maximum value for the band, used for enhanceContrasting.
double minimumValue() const
Returns the minimum value.
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.
double maximumValue() const
Returns the maximum value.
Qgis::DataType mQgsRasterDataType
Data type of the band.
virtual ~QgsContrastEnhancementFunction()=default
double mMinimumValue
User defineable minimum value for the band, used for enhanceContrasting.
QgsContrastEnhancementFunction & operator=(const QgsContrastEnhancementFunction &)=delete