18 #ifndef QGSRASTERRESAMPLER_H 19 #define QGSRASTERRESAMPLER_H 22 #include "qgis_core.h" 43 if ( dynamic_cast<QgsBilinearRasterResampler *>( sipCpp ) != NULL )
44 sipType = sipType_QgsBilinearRasterResampler;
45 else if ( dynamic_cast<QgsCubicRasterResampler *>( sipCpp ) != NULL )
46 sipType = sipType_QgsCubicRasterResampler;
63 Q_DECL_DEPRECATED
virtual void resample(
const QImage &srcImage, QImage &dstImage ) = 0
SIP_DEPRECATED;
69 virtual QString type()
const = 0;
105 virtual QImage resampleV2(
const QImage &source,
const QSize &size ) = 0;
109 #endif // QGSRASTERRESAMPLER_H Interface for resampling rasters (e.g.
virtual int tileBufferPixels() const
Returns the optional tile buffer size in pixels.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
Interface for resampling rasters (V2) (e.g.