20 #ifndef QGSRASTERSHADERFUNCTION_H
21 #define QGSRASTERSHADERFUNCTION_H
38 virtual void setMaximumValue(
double );
41 virtual void setMinimumValue(
double );
44 virtual bool shade(
double,
int*,
int*,
int*,
int* );
47 virtual bool shade(
double,
double,
double,
double,
int*,
int*,
int*,
int* );
54 virtual void legendSymbologyItems( QList< QPair< QString, QColor > >& symbolItems )
const { Q_UNUSED( symbolItems ); }
double mMinimumValue
User defineable minimum value for the shading function.
double mMaximumValue
User defineable maximum value for the shading function.
double minimumValue() const
The raster shade function applies a shader to a pixel at render time - typically used to render grays...
double maximumValue() const
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
virtual ~QgsRasterShaderFunction()
double mMinimumMaximumRange
Minimum maximum range for the shading function.
double minimumMaximumRange() const