20 #ifndef QGSRASTERSHADER_H 21 #define QGSRASTERSHADER_H 35 QgsRasterShader(
double theMinimumValue = 0.0,
double theMaximumValue = 255.0 );
58 bool shade(
double,
int*,
int*,
int*,
int* );
61 bool shade(
double,
double,
double,
double,
int*,
int*,
int*,
int* );
68 void setMaximumValue(
double );
71 void setMinimumValue(
double );
Interface for all raster shaders.
QgsRasterShaderFunction * rasterShaderFunction()
The raster shade function applies a shader to a pixel at render time - typically used to render grays...
double maximumValue()
Return the maximum value for the raster shader.
const QgsRasterShaderFunction * rasterShaderFunction() const
double minimumValue()
Return the minimum value for the raster shader.