QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
qgscontrastenhancementfunction.h
Go to the documentation of this file.
1 /* **************************************************************************
2  qgscontrastenhancementfunction.h - description
3  -------------------
4 begin : Fri Nov 16 2007
5 copyright : (C) 2007 by Peter J. Ersts
6 email : ersts@amnh.org
7 
8 ****************************************************************************/
9 
10 /* **************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef QGSCONTRASTENHANCEMENTFUNCTION_H
20 #define QGSCONTRASTENHANCEMENTFUNCTION_H
21 
22 #include "qgis.h"
23 #include "qgscontrastenhancement.h"
24 
32 {
33 
34  public:
38 
40  virtual int enhance( double );
41 
43  virtual bool isValueInDisplayableRange( double );
44 
46  void setMaximumValue( double );
47 
49  void setMinimumValue( double );
50 
51  protected:
53  double mMaximumValue;
54 
56  double mMinimumValue;
57 
60 
63 };
64 
65 #endif
double mMinimumMaximumRange
Minimum maximum range for the band, used for enhanceContrasting.
A contrast enhancement funcion is the base class for all raster contrast enhancements.
double mMaximumValue
User defineable maximum value for the band, used for enhanceContrasting.
DataType
Raster data types.
Definition: qgis.h:204
double mMinimumValue
User defineable minimum value for the band, used for enhanceContrasting.
QGis::DataType mQgsRasterDataType
Data type of the band.