QGIS/python/core/auto_generated/raster/qgscontrastenhancementfunction.sip.in
2018-05-14 10:23:37 -04:00

62 lines
2.0 KiB
Plaintext

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