mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
22 lines
677 B
Plaintext
22 lines
677 B
Plaintext
|
|
||
|
class QgsRasterShaderFunction
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsrastershaderfunction.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsRasterShaderFunction(double theMinimumValue = 0.0, double theMaximumValue = 255.0);
|
||
|
virtual ~QgsRasterShaderFunction();
|
||
|
|
||
|
/** \brief generates and new RGB value based on one input value */
|
||
|
virtual bool generateShadedValue(double, int*, int*, int*);
|
||
|
/** \brief generates and new RGB value based on original RGB value */
|
||
|
virtual bool generateShadedValue(double, double, double, int*, int*, int*);
|
||
|
|
||
|
/** \brief Set the maximum value */
|
||
|
virtual void setMaximumValue(double);
|
||
|
/** \brief Return the minimum value */
|
||
|
virtual void setMinimumValue(double);
|
||
|
};
|