QGIS/python/core/auto_generated/raster/qgscontrastenhancementfunction.sip.in

62 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-06-01 10:54:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgscontrastenhancementfunction.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsContrastEnhancementFunction
{
2017-06-01 10:54:33 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
A contrast enhancement function is the base class for all raster contrast enhancements.
2017-06-01 10:54:33 +02:00
2017-12-15 10:36:55 -04:00
The purpose of a contrast enhancement is to enhanceContrast or clip a pixel value into
a specified bounding range.
%End
2017-06-01 10:54:33 +02:00
%TypeHeaderCode
#include "qgscontrastenhancementfunction.h"
%End
public:
QgsContrastEnhancementFunction( Qgis::DataType, double, double );
2017-06-01 10:54:33 +02:00
QgsContrastEnhancementFunction( const QgsContrastEnhancementFunction &f );
virtual ~QgsContrastEnhancementFunction();
2014-01-27 09:22:24 +01:00
virtual int enhance( double );
2017-06-01 10:54:33 +02:00
%Docstring
A customizable method that takes in a double and returns a int between 0 and 255
%End
2014-01-27 09:22:24 +01:00
virtual bool isValueInDisplayableRange( double );
2017-06-01 10:54:33 +02:00
%Docstring
A customicable method to indicate if the pixels is displayable
%End
2014-01-27 09:22:24 +01:00
void setMaximumValue( double );
2017-06-01 10:54:33 +02:00
%Docstring
Mustator for the maximum value
%End
void setMinimumValue( double );
2017-06-01 10:54:33 +02:00
%Docstring
Mutator for the minimum value
%End
protected:
};
2017-06-01 10:54:33 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgscontrastenhancementfunction.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/