-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
840 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,38 @@ | ||
class QgsBilinearRasterResampler : QgsRasterResampler | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgsbilinearrasterresampler.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsBilinearRasterResampler: QgsRasterResampler | ||
{ | ||
%Docstring | ||
Bilinear Raster Resampler | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsbilinearrasterresampler.h" | ||
%End | ||
public: | ||
QgsBilinearRasterResampler(); | ||
~QgsBilinearRasterResampler(); | ||
|
||
void resample( const QImage &srcImage, QImage &dstImage ); | ||
QString type() const; | ||
virtual void resample( const QImage &srcImage, QImage &dstImage ); | ||
|
||
virtual QString type() const; | ||
virtual QgsBilinearRasterResampler *clone() const /Factory/; | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgsbilinearrasterresampler.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,69 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgsbrightnesscontrastfilter.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
|
||
class QgsBrightnessContrastFilter : QgsRasterInterface | ||
{ | ||
%Docstring | ||
Brightness/contrast filter pipe for rasters. | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include <qgsbrightnesscontrastfilter.h> | ||
#include "qgsbrightnesscontrastfilter.h" | ||
%End | ||
public: | ||
QgsBrightnessContrastFilter( QgsRasterInterface *input = 0 ); | ||
~QgsBrightnessContrastFilter(); | ||
|
||
virtual QgsBrightnessContrastFilter *clone() const /Factory/; | ||
|
||
int bandCount() const; | ||
|
||
Qgis::DataType dataType( int bandNo ) const; | ||
virtual int bandCount() const; | ||
|
||
|
||
virtual Qgis::DataType dataType( int bandNo ) const; | ||
|
||
|
||
bool setInput( QgsRasterInterface *input ); | ||
virtual bool setInput( QgsRasterInterface *input ); | ||
|
||
|
||
virtual QgsRasterBlock *block( int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback = 0 ) /Factory/; | ||
|
||
QgsRasterBlock *block( int bandNo, const QgsRectangle &extent, int width, int height, QgsRasterBlockFeedback *feedback = 0 ) /Factory/; | ||
|
||
void setBrightness( int brightness ); | ||
int brightness() const; | ||
%Docstring | ||
:rtype: int | ||
%End | ||
|
||
void setContrast( int contrast ); | ||
int contrast() const; | ||
%Docstring | ||
:rtype: int | ||
%End | ||
|
||
virtual void writeXml( QDomDocument &doc, QDomElement &parentElem ) const; | ||
|
||
void writeXml( QDomDocument &doc, QDomElement &parentElem ) const; | ||
|
||
/** Sets base class members from xml. Usually called from create() methods of subclasses*/ | ||
void readXml( const QDomElement &filterElem ); | ||
virtual void readXml( const QDomElement &filterElem ); | ||
|
||
%Docstring | ||
Sets base class members from xml. Usually called from create() methods of subclasses | ||
%End | ||
|
||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgsbrightnesscontrastfilter.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,40 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgscliptominmaxenhancement.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
class QgsClipToMinMaxEnhancement : QgsContrastEnhancementFunction | ||
{ | ||
%TypeHeaderCode | ||
#include <qgscliptominmaxenhancement.h> | ||
%Docstring | ||
A raster contrast enhancement that will clip a value to the specified min/max range. | ||
For example if a min max range of [10,240] is specified in the constructor, and | ||
a value of 250 is called using enhance(), the value will be truncated ('clipped') | ||
to 240. | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgscliptominmaxenhancement.h" | ||
%End | ||
public: | ||
QgsClipToMinMaxEnhancement( Qgis::DataType, double, double ); | ||
|
||
int enhance( double ); | ||
virtual int enhance( double ); | ||
|
||
|
||
virtual bool isValueInDisplayableRange( double ); | ||
|
||
bool isValueInDisplayableRange( double ); | ||
}; | ||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/raster/qgscliptominmaxenhancement.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ |
Oops, something went wrong.