71 *theReturnRedValue = 0;
72 *theReturnGreenValue = 0;
73 *theReturnBlueValue = 0;
74 *theReturnAlphaValue = 0;
93 bool QgsRasterShaderFunction::shade(
double theRedValue,
double theGreenValue,
double theBlueValue,
double theAlphaValue,
int* theReturnRedValue,
int* theReturnGreenValue,
int* theReturnBlueValue,
int *theReturnAlphaValue )
95 Q_UNUSED( theRedValue );
96 Q_UNUSED( theGreenValue );
97 Q_UNUSED( theBlueValue );
98 Q_UNUSED( theAlphaValue );
100 *theReturnRedValue = 0;
101 *theReturnGreenValue = 0;
102 *theReturnBlueValue = 0;
103 *theReturnAlphaValue = 0;
virtual bool shade(double, int *, int *, int *, int *)
generates and new RGBA value based on one input value
double mMinimumValue
User defineable minimum value for the shading function.
QString number(int n, int base)
#define QgsDebugMsgLevel(str, level)
double mMaximumValue
User defineable maximum value for the shading function.
QgsRasterShaderFunction(double theMinimumValue=0.0, double theMaximumValue=255.0)
virtual void setMinimumValue(double)
Return the minimum value.
double mMinimumMaximumRange
Minimum maximum range for the shading function.
virtual void setMaximumValue(double)
Set the maximum value.