Quantum GIS API Documentation
1.7.5-Wroclaw
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
src
core
raster
qgsrastershaderfunction.h
Go to the documentation of this file.
1
/* **************************************************************************
2
qgsrastershaderfunction.h - description
3
-------------------
4
begin : Fri Dec 28 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
20
#ifndef QGSRASTERSHADERFUNCTION_H
21
#define QGSRASTERSHADERFUNCTION_H
22
27
class
CORE_EXPORT
QgsRasterShaderFunction
28
{
29
30
public
:
31
QgsRasterShaderFunction
(
double
theMinimumValue = 0.0,
double
theMaximumValue = 255.0 );
32
virtual
~QgsRasterShaderFunction
() {}
33
35
virtual
void
setMaximumValue(
double
);
36
38
virtual
void
setMinimumValue(
double
);
39
41
virtual
bool
shade(
double
,
int
*,
int
*,
int
* );
42
44
virtual
bool
shade(
double
,
double
,
double
,
int
*,
int
*,
int
* );
45
46
protected
:
48
double
mMaximumValue
;
49
51
double
mMinimumValue
;
52
54
double
mMinimumMaximumRange
;
55
};
56
#endif
Generated on Wed Jun 13 2012 13:54:11 for Quantum GIS API Documentation by
1.8.1