mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
which doesn't require pre-allocation of a temporary QImage The existing interface is very inefficient for the bilinear resampler, because it requires allocation of a temporary QImage just to pass the desired height and width to the resampler...
47 lines
1.5 KiB
Plaintext
47 lines
1.5 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 );
|
|
|
|
|
|
virtual QImage resampleV2( const QImage &source, const QSize &size );
|
|
|
|
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 *
|
|
************************************************************************/
|