QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
23 : mMaximumValue( maximumValue )
24 , mMinimumValue( minimumValue )
25 , mMinimumMaximumRange( mMaximumValue - mMinimumValue )
51 *returnGreenValue = 0;
53 *returnAlphaValue = 0;
58 bool QgsRasterShaderFunction::shade(
double redValue,
double greenValue,
double blueValue,
double alphaValue,
int *returnRedValue,
int *returnGreenValue,
int *returnBlueValue,
int *returnAlphaValue )
const
61 Q_UNUSED( greenValue )
63 Q_UNUSED( alphaValue )
66 *returnGreenValue = 0;
68 *returnAlphaValue = 0;
#define QgsDebugMsgLevel(str, level)
double mMinimumValue
User defineable minimum value for the shading function.
QgsRasterShaderFunction(double minimumValue=0.0, double maximumValue=255.0)
virtual void setMaximumValue(double value)
Sets the maximum value for the raster shader.
double mMaximumValue
User defineable maximum value for the shading function.
virtual bool shade(double value, int *returnRedValue, int *returnGreenValue, int *returnBlueValue, int *returnAlpha) const
Generates an new RGBA value based on one input value.
double mMinimumMaximumRange
Minimum maximum range for the shading function.
virtual void setMinimumValue(double value)
Sets the minimum value for the raster shader.