QGIS API Documentation  3.13.0-Master (788156190c)
qgsbilinearrasterresampler.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsbilinearrasterresampler.h
3  ----------------------------
4  begin : December 2011
5  copyright : (C) 2011 by Marco Hugentobler
6  email : marco at sourcepole dot ch
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef QGSBILINEARRASTERRESAMPLER_H
19 #define QGSBILINEARRASTERRESAMPLER_H
20 
21 #include "qgsrasterresampler.h"
22 #include "qgis_sip.h"
23 #include "qgis.h"
24 
25 #include <QColor>
26 
27 #include "qgis_core.h"
28 
34 {
35  public:
36 
40  QgsBilinearRasterResampler() = default;
41  Q_DECL_DEPRECATED void resample( const QImage &srcImage, QImage &dstImage ) override SIP_DEPRECATED;
42 
43  QImage resampleV2( const QImage &source, const QSize &size ) override;
44  QString type() const override;
46  int tileBufferPixels() const override;
47 };
48 
49 #endif // QGSBILINEARRASTERRESAMPLER_H
QgsRasterResampler::tileBufferPixels
virtual int tileBufferPixels() const
Returns the optional tile buffer size in pixels.
Definition: qgsrasterresampler.h:85
qgis.h
qgsrasterresampler.h
QgsBilinearRasterResampler
Definition: qgsbilinearrasterresampler.h:33
QgsRasterResampler::resample
virtual Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage)=0
Resamples a source image to a destination image.
SIP_FACTORY
#define SIP_FACTORY
Definition: qgis_sip.h:76
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition: qgis_sip.h:106
QgsRasterResamplerV2
Definition: qgsrasterresampler.h:96
qgis_sip.h
QgsRasterResampler::clone
virtual QgsRasterResampler * clone() const =0
Gets a deep copy of this object.
QgsRasterResamplerV2::resampleV2
virtual QImage resampleV2(const QImage &source, const QSize &size)=0
Resamples a source image to the specified size.
QgsRasterResampler::type
virtual QString type() const =0
Gets a descriptive type identifier for this raster resampler.