QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Bilinear Raster Resampler. More...
#include <qgsbilinearrasterresampler.h>
Public Member Functions | |
QgsBilinearRasterResampler ()=default | |
Constructor for QgsBilinearRasterResampler. More... | |
QgsBilinearRasterResampler * | clone () const override |
Gets a deep copy of this object. More... | |
Q_DECL_DEPRECATED void | resample (const QImage &srcImage, QImage &dstImage) override |
Resamples a source image to a destination image. More... | |
QImage | resampleV2 (const QImage &source, const QSize &size) override |
Resamples a source image to the specified size. More... | |
int | tileBufferPixels () const override |
Returns the optional tile buffer size in pixels. More... | |
QString | type () const override |
Gets a descriptive type identifier for this raster resampler. More... | |
Public Member Functions inherited from QgsRasterResampler | |
virtual | ~QgsRasterResampler ()=default |
Bilinear Raster Resampler.
Definition at line 33 of file qgsbilinearrasterresampler.h.
|
default |
Constructor for QgsBilinearRasterResampler.
|
overridevirtual |
Gets a deep copy of this object.
Needs to be reimplemented by subclasses. Ownership is transferred to the caller.
Implements QgsRasterResampler.
Definition at line 23 of file qgsbilinearrasterresampler.cpp.
|
overridevirtual |
Resamples a source image to a destination image.
The size of the passed destination image should be respected during the resampling process.
Implements QgsRasterResampler.
Definition at line 34 of file qgsbilinearrasterresampler.cpp.
|
overridevirtual |
Resamples a source image to the specified size.
Returns the resampled image, or a null QImage if the resampling fails.
Implements QgsRasterResamplerV2.
Definition at line 40 of file qgsbilinearrasterresampler.cpp.
|
overridevirtual |
Returns the optional tile buffer size in pixels.
This represents the size to buffer individual resampled tile requests prior to resampling, in order to avoid rendering artifacts at the edges of raster tile boundaries.
Reimplemented from QgsRasterResampler.
Definition at line 28 of file qgsbilinearrasterresampler.cpp.
|
overridevirtual |
Gets a descriptive type identifier for this raster resampler.
Needs to be implemented by subclasses.
Implements QgsRasterResampler.
Definition at line 45 of file qgsbilinearrasterresampler.cpp.