20 #ifndef QGSRASTERSHADERFUNCTION_H 21 #define QGSRASTERSHADERFUNCTION_H 29 #include "qgis_core.h" 43 if ( dynamic_cast<QgsColorRampShader *>( sipCpp ) != NULL )
44 sipType = sipType_QgsColorRampShader;
55 virtual void setMaximumValue(
double );
58 virtual void setMinimumValue(
double );
61 virtual bool shade(
double value,
63 int *returnGreenValue SIP_OUT,
64 int *returnBlueValue SIP_OUT,
65 int *returnAlpha SIP_OUT );
68 virtual bool shade(
double redValue,
72 int *returnRedValue SIP_OUT,
73 int *returnGreenValue SIP_OUT,
74 int *returnBlueValue SIP_OUT,
75 int *returnAlpha SIP_OUT );
82 virtual void legendSymbologyItems( QList< QPair< QString, QColor > > &symbolItems SIP_OUT )
const { Q_UNUSED( symbolItems ); }
double maximumValue() const
double mMinimumValue
User defineable minimum value for the shading function.
virtual void legendSymbologyItems(QList< QPair< QString, QColor > > &symbolItems) const
double mMaximumValue
User defineable maximum value for the shading function.
The raster shade function applies a shader to a pixel at render time - typically used to render grays...
double minimumValue() const
double minimumMaximumRange() const
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
double mMinimumMaximumRange
Minimum maximum range for the shading function.