QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
20 #ifndef QGSRASTERSHADERFUNCTION_H
21 #define QGSRASTERSHADERFUNCTION_H
29 #include "qgis_core.h"
44 sipType = sipType_QgsColorRampShader;
59 virtual void setMaximumValue(
double value );
66 virtual void setMinimumValue(
double value );
77 virtual bool shade(
double value,
81 int *returnAlpha
SIP_OUT )
const;
96 virtual bool shade(
double redValue,
103 int *returnAlpha
SIP_OUT )
const;
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
Returns legend symbology items if provided by renderer.
double maximumValue() const
Returns the minimum value for the raster shader.
double mMinimumValue
User defineable minimum value for the shading function.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
double mMaximumValue
User defineable maximum value for the shading function.
double minimumValue() const
Returns the maximum value for the raster shader.
double minimumMaximumRange() const
double mMinimumMaximumRange
Minimum maximum range for the shading function.