| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   18 #ifndef QGSRASTERRESAMPLER_H 
   19 #define QGSRASTERRESAMPLER_H 
   22 #include "qgis_core.h" 
   44       sipType = sipType_QgsBilinearRasterResampler;
 
   46       sipType = sipType_QgsCubicRasterResampler;
 
   69     virtual QString 
type() 
const = 0;
 
  105     virtual QImage 
resampleV2( 
const QImage &source, 
const QSize &size ) = 0;
 
  109 #endif // QGSRASTERRESAMPLER_H 
  
virtual int tileBufferPixels() const
Returns the optional tile buffer size in pixels.
Interface for resampling rasters (e.g.
Bilinear Raster Resampler.
virtual Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage)=0
Resamples a source image to a destination image.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Interface for resampling rasters (V2) (e.g.
virtual QgsRasterResampler * clone() const =0
Gets a deep copy of this object.
virtual QImage resampleV2(const QImage &source, const QSize &size)=0
Resamples a source image to the specified size.
virtual QString type() const =0
Gets a descriptive type identifier for this raster resampler.
virtual ~QgsRasterResampler()=default