QGIS API Documentation
2.0.1-Dufour
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
core
raster
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
31
class
CORE_EXPORT
QgsContrastEnhancementFunction
32
{
33
34
public
:
35
QgsContrastEnhancementFunction
(
QGis::DataType
,
double
,
double
);
36
QgsContrastEnhancementFunction
(
const
QgsContrastEnhancementFunction
& f );
37
virtual
~QgsContrastEnhancementFunction
() {}
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
59
double
mMinimumMaximumRange
;
60
62
QGis::DataType
mQgsRasterDataType
;
63
};
64
65
#endif
Generated on Tue Sep 24 2013 14:41:47 for QGIS API Documentation by
1.8.1.2