mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
25 lines
752 B
Plaintext
25 lines
752 B
Plaintext
|
|
||
|
class QgsContrastEnhancementFunction
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <qgscontrastenhancement.h>
|
||
|
#include <qgscontrastenhancementfunction.h>
|
||
|
%End
|
||
|
|
||
|
public:
|
||
|
QgsContrastEnhancementFunction(QgsContrastEnhancement::QgsRasterDataType, double, double);
|
||
|
virtual ~QgsContrastEnhancementFunction();
|
||
|
|
||
|
/** \brief Mustator for the maximum value */
|
||
|
void setMaximumValue(double);
|
||
|
/** \brief Mutator for the minimum value */
|
||
|
void setMinimumValue(double);
|
||
|
|
||
|
/** \brief A customizable method that takes in a double and returns a int between 0 and 255 */
|
||
|
virtual int enhanceValue(double);
|
||
|
/** \brief A customicable method to indicate if the pixels is displayable */
|
||
|
virtual bool isValueInDisplayableRange(double);
|
||
|
|
||
|
};
|
||
|
|