Skip to content

Commit 1b6a3d9

Browse files
author
timlinux
committedJan 15, 2008
Remove duplicated header stuff from merge
git-svn-id: http://svn.osgeo.org/qgis/trunk@7976 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e44fecc commit 1b6a3d9

File tree

1 file changed

+0
-136
lines changed

1 file changed

+0
-136
lines changed
 

‎src/core/raster/qgsrastershader.h

Lines changed: 0 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -17,142 +17,6 @@ email : ersts@amnh.org
1717
***************************************************************************/
1818

1919

20-
#ifndef QGSRASTERSHADER_H
21-
#define QGSRASTERSHADER_H
22-
23-
#include "qgsrastershaderfunction.h"
24-
25-
class CORE_EXPORT QgsRasterShader {
26-
27-
public:
28-
QgsRasterShader(double theMinimumValue=0.0, double theMaximumValue=255.0);
29-
~QgsRasterShader();
30-
31-
/*
32-
*
33-
* Non-Static Inline methods
34-
*
35-
*/
36-
/** \brief Return the maximum value for the raster shader */
37-
double getMaximumValue() { return mMaximumValue; }
38-
39-
/** \brief Return the minimum value for the raster shader */
40-
double getMinimumValue() { return mMinimumValue; }
41-
42-
QgsRasterShaderFunction* getRasterShaderFunction() { return mRasterShaderFunction; }
43-
44-
/*
45-
*
46-
* Non-Static methods
47-
*
48-
*/
49-
/** \brief generates and new RGB value based on one input value */
50-
bool generateShadedValue(double, int*, int*, int*);
51-
/** \brief generates and new RGB value based on original RGB value */
52-
bool generateShadedValue(double, double, double, int*, int*, int*);
53-
/** \brief A public method that allows the user to set their own shader function */
54-
void setRasterShaderFunction(QgsRasterShaderFunction*);
55-
/** \brief Set the maximum value */
56-
void setMaximumValue(double);
57-
/** \brief Return the minimum value */
58-
void setMinimumValue(double);
59-
60-
private:
61-
/** \brief User defineable minimum value for the raster shader */
62-
double mMinimumValue;
63-
/** \brief user defineable maximum value for the raster shader */
64-
double mMaximumValue;
65-
66-
QgsRasterShaderFunction* mRasterShaderFunction;
67-
};
68-
#endif
69-
/* **************************************************************************
70-
qgsrastershader.h - description
71-
-------------------
72-
begin : Fri Dec 28 2007
73-
copyright : (C) 2007 by Peter J. Ersts
74-
email : ersts@amnh.org
75-
76-
****************************************************************************/
77-
78-
/* **************************************************************************
79-
* *
80-
* This program is free software; you can redistribute it and/or modify *
81-
* it under the terms of the GNU General Public License as published by *
82-
* the Free Software Foundation; either version 2 of the License, or *
83-
* (at your option) any later version. *
84-
* *
85-
***************************************************************************/
86-
87-
88-
#ifndef QGSRASTERSHADER_H
89-
#define QGSRASTERSHADER_H
90-
91-
#include "qgsrastershaderfunction.h"
92-
93-
class CORE_EXPORT QgsRasterShader {
94-
95-
public:
96-
QgsRasterShader(double theMinimumValue=0.0, double theMaximumValue=255.0);
97-
~QgsRasterShader();
98-
99-
/*
100-
*
101-
* Non-Static Inline methods
102-
*
103-
*/
104-
/** \brief Return the maximum value for the raster shader */
105-
double getMaximumValue() { return mMaximumValue; }
106-
107-
/** \brief Return the minimum value for the raster shader */
108-
double getMinimumValue() { return mMinimumValue; }
109-
110-
QgsRasterShaderFunction* getRasterShaderFunction() { return mRasterShaderFunction; }
111-
112-
/*
113-
*
114-
* Non-Static methods
115-
*
116-
*/
117-
/** \brief generates and new RGB value based on one input value */
118-
bool generateShadedValue(double, int*, int*, int*);
119-
/** \brief generates and new RGB value based on original RGB value */
120-
bool generateShadedValue(double, double, double, int*, int*, int*);
121-
/** \brief A public method that allows the user to set their own shader function */
122-
void setRasterShaderFunction(QgsRasterShaderFunction*);
123-
/** \brief Set the maximum value */
124-
void setMaximumValue(double);
125-
/** \brief Return the minimum value */
126-
void setMinimumValue(double);
127-
128-
private:
129-
/** \brief User defineable minimum value for the raster shader */
130-
double mMinimumValue;
131-
/** \brief user defineable maximum value for the raster shader */
132-
double mMaximumValue;
133-
134-
QgsRasterShaderFunction* mRasterShaderFunction;
135-
};
136-
#endif
137-
/* **************************************************************************
138-
qgsrastershader.h - description
139-
-------------------
140-
begin : Fri Dec 28 2007
141-
copyright : (C) 2007 by Peter J. Ersts
142-
email : ersts@amnh.org
143-
144-
****************************************************************************/
145-
146-
/* **************************************************************************
147-
* *
148-
* This program is free software; you can redistribute it and/or modify *
149-
* it under the terms of the GNU General Public License as published by *
150-
* the Free Software Foundation; either version 2 of the License, or *
151-
* (at your option) any later version. *
152-
* *
153-
***************************************************************************/
154-
155-
15620
#ifndef QGSRASTERSHADER_H
15721
#define QGSRASTERSHADER_H
15822

0 commit comments

Comments
 (0)
Please sign in to comment.