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
qgsfreakoutshader.h
Go to the documentation of this file.
1
/* **************************************************************************
2
qgsfreakoutshader.h - description
3
-------------------
4
begin : Fri Dec 28 2007
5
copyright : (C) 2007 by Peter J. Ersts
6
email : ersts@amnh.org
7
8
This class contains code that was originally part of the larger QgsRasterLayer
9
class originally created circa 2004 by T.Sutton, Gary E.Sherman, Steve Halasz
10
****************************************************************************/
11
12
/* **************************************************************************
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* *
19
***************************************************************************/
20
21
#ifndef QGSFREAKOUTSHADER_H
22
#define QGSFREAKOUTSHADER_H
23
24
#include "
qgsrastershaderfunction.h
"
25
29
class
CORE_EXPORT
QgsFreakOutShader
:
public
QgsRasterShaderFunction
30
{
31
32
public
:
33
QgsFreakOutShader
(
double
theMinimumValue = 0.0,
double
theMaximumValue = 255.0 );
34
36
bool
shade
(
double
,
int
*,
int
*,
int
* );
37
39
bool
shade
(
double
,
double
,
double
,
int
*,
int
*,
int
* );
40
42
void
setMaximumValue
(
double
);
43
45
void
setMinimumValue
(
double
);
46
47
private
:
48
void
setClassBreaks();
49
50
double
mBreakSize
;
51
double
mClassBreakMin1
;
52
double
mClassBreakMax1
;
53
double
mClassBreakMin2
;
54
double
mClassBreakMax2
;
55
double
mClassBreakMin3
;
56
};
57
58
#endif
Generated on Wed Jun 13 2012 13:54:11 for Quantum GIS API Documentation by
1.8.1