QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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.
void setLabelPrecision(int labelPrecision)
Sets label precision to labelPrecision.
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.
int mLabelPrecision
Label precision.
int labelPrecision() const
Returns label precision.
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.