18 #ifndef QGSRASTERRESAMPLER_H 19 #define QGSRASTERRESAMPLER_H 22 #include "qgis_core.h" 42 if ( dynamic_cast<QgsBilinearRasterResampler *>( sipCpp ) != NULL )
43 sipType = sipType_QgsBilinearRasterResampler;
44 else if ( dynamic_cast<QgsCubicRasterResampler *>( sipCpp ) != NULL )
45 sipType = sipType_QgsCubicRasterResampler;
53 virtual void resample(
const QImage &srcImage, QImage &dstImage ) = 0;
59 virtual QString type()
const = 0;
69 #endif // QGSRASTERRESAMPLER_H Interface for resampling rasters (e.g.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)