mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
31 lines
938 B
Plaintext
31 lines
938 B
Plaintext
|
/** \ingroup core
|
||
|
* A colorful false color shader that will frighten your granny and make your dogs howl.
|
||
|
*/
|
||
|
class QgsFreakOutShader : QgsRasterShaderFunction
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgsfreakoutshader.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsFreakOutShader( double theMinimumValue = 0.0, double theMaximumValue = 255.0 );
|
||
|
|
||
|
/** \brief generates and new RGB value based on one input value */
|
||
|
bool shade( double, int* /Out/, int* /Out/, int* /Out/ );
|
||
|
|
||
|
/** \brief generates and new RGB value based on original RGB value */
|
||
|
bool shade( double, double, double, int* /Out/, int* /Out/, int* /Out/ );
|
||
|
|
||
|
/** \brief Set the maximum value */
|
||
|
void setMaximumValue( double );
|
||
|
|
||
|
/** \brief Return the minimum value */
|
||
|
void setMinimumValue( double );
|
||
|
|
||
|
double classBreakMin1() const;
|
||
|
double classBreakMax1() const;
|
||
|
double classBreakMin2() const;
|
||
|
double classBreakMax2() const;
|
||
|
double classBreakMin3() const;
|
||
|
};
|