~ubuntu-branches/ubuntu/trusty/qgis/trusty

« back to all changes in this revision

Viewing changes to python/core/qgsrastershaderfunction.sip

  • Committer: Bazaar Package Importer
  • Author(s): Johan Van de Wauw
  • Date: 2010-07-11 20:23:24 UTC
  • mfrom: (3.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100711202324-5ktghxa7hracohmr
Tags: 1.4.0+12730-3ubuntu1
* Merge from Debian unstable (LP: #540941).
* Fix compilation issues with QT 4.7
* Add build-depends on libqt4-webkit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
class QgsRasterShaderFunction
 
3
{
 
4
%TypeHeaderCode
 
5
#include <qgsrastershaderfunction.h>
 
6
%End
 
7
 
 
8
public:
 
9
  QgsRasterShaderFunction(double theMinimumValue = 0.0, double theMaximumValue = 255.0);
 
10
  virtual ~QgsRasterShaderFunction();
 
11
   
 
12
  /** \brief generates and new RGB value based on one input value */
 
13
  virtual bool shade(double, int*, int*, int*);
 
14
  /** \brief generates and new RGB value based on original RGB value */
 
15
  virtual bool shade(double, double, double, int*, int*, int*);
 
16
  
 
17
  /** \brief Set the maximum value */
 
18
  virtual void setMaximumValue(double);
 
19
  /** \brief Return the minimum value */
 
20
  virtual void setMinimumValue(double);
 
21
};