19 #ifndef QGSCONTRASTENHANCEMENTFUNCTION_H 20 #define QGSCONTRASTENHANCEMENTFUNCTION_H 22 #include "qgis_core.h" 43 virtual int enhance(
double value );
48 virtual bool isValueInDisplayableRange(
double value );
55 void setMaximumValue(
double value );
62 void setMinimumValue(
double value );
DataType
Raster data types.
double maximumValue() const
Returns the maximum value.
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.
Qgis::DataType mQgsRasterDataType
Data type of the band.
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 mMinimumValue
User defineable minimum value for the band, used for enhanceContrasting.
double minimumValue() const
Returns the minimum value.