QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
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.
double minimumValue() const
Returns the minimum value.
A contrast enhancement function is the base class for all raster contrast enhancements.
Qgis::DataType mQgsRasterDataType
Data type of the band.
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 maximumValue() const
Returns the maximum value.
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.