23 : mMaximumValue( maximumValue )
24 , mMinimumValue( minimumValue )
25 , mMinimumMaximumRange( mMaximumValue - mMinimumValue )
71 *returnGreenValue = 0;
73 *returnAlphaValue = 0;
92 bool QgsRasterShaderFunction::shade(
double redValue,
double greenValue,
double blueValue,
double alphaValue,
int *returnRedValue,
int *returnGreenValue,
int *returnBlueValue,
int *returnAlphaValue )
95 Q_UNUSED( greenValue );
96 Q_UNUSED( blueValue );
97 Q_UNUSED( alphaValue );
100 *returnGreenValue = 0;
101 *returnBlueValue = 0;
102 *returnAlphaValue = 0;
QgsRasterShaderFunction(double minimumValue=0.0, double maximumValue=255.0)
double mMinimumValue
User defineable minimum value for the shading function.
#define QgsDebugMsgLevel(str, level)
double mMaximumValue
User defineable maximum value for the shading function.
virtual void setMinimumValue(double)
Return the minimum value.
double mMinimumMaximumRange
Minimum maximum range for the shading function.
virtual bool shade(double value, int *returnRedValue, int *returnGreenValue, int *returnBlueValue, int *returnAlpha)
generates and new RGBA value based on one input value
virtual void setMaximumValue(double)
Set the maximum value.