mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
-First round of API cleaning for raster classes (all but QgsRasterLayer) git-svn-id: http://svn.osgeo.org/qgis/trunk@9560 c8812cc2-4d05-0410-92ff-de0c093fc19c
25 lines
747 B
Plaintext
25 lines
747 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 enhance(double);
|
|
/** \brief A customicable method to indicate if the pixels is displayable */
|
|
virtual bool isValueInDisplayableRange(double);
|
|
|
|
};
|
|
|