QGIS/python/core/qgscontrastenhancementfunction.sip
ersts 5cf0e49eae -Delete outdated class QgsColorTable
-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
2008-11-01 18:36:02 +00:00

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);
};