mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-04 00:30:59 -05:00
We now buffer the request for the input to a resample filter by a variable number of pixels (depending on the resampling type) in order to fetch the neighbouring pixels to the edges of individual raster blocks. This allows the resampling to utilise these neighbouring pixels when resampling the edges of tiles, avoiding discrepancies and rendering artifacts over the borders of raster tiles. Fixes #30152
49 lines
1.6 KiB
Plaintext
49 lines
1.6 KiB
Plaintext
/************************************************************************
|
|
* 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: QgsRasterResamplerV2
|
|
{
|
|
%Docstring
|
|
Bilinear Raster Resampler
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsbilinearrasterresampler.h"
|
|
%End
|
|
public:
|
|
|
|
QgsBilinearRasterResampler();
|
|
%Docstring
|
|
Constructor for QgsBilinearRasterResampler.
|
|
%End
|
|
virtual void resample( const QImage &srcImage, QImage &dstImage ) /Deprecated/;
|
|
|
|
|
|
virtual QImage resampleV2( const QImage &source, const QSize &size );
|
|
|
|
virtual QString type() const;
|
|
|
|
virtual QgsBilinearRasterResampler *clone() const /Factory/;
|
|
|
|
virtual int tileBufferPixels() const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/raster/qgsbilinearrasterresampler.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|