QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
35 return static_cast<int>( value );
DataType
Raster data types.
double mMinimumValuePossible
A contrast enhancement function is the base class for all raster contrast enhancements.
Qgis::DataType mQgsRasterDataType
Data type of the band.
double mMaximumValuePossible
double mMaximumValue
User defineable maximum value for the band, used for enhanceContrasting.
@ Byte
Eight bit unsigned integer (quint8)
QgsClipToMinMaxEnhancement(Qgis::DataType, double, double)
bool isValueInDisplayableRange(double) override
A customizable method to indicate if a pixel's value is within the displayable range.
int enhance(double) override
A customizable method that takes in a double value and returns a int between 0 and 255.