QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 : [email protected]
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