mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			676 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			676 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
class QgsRasterResampler
 | 
						|
{
 | 
						|
%TypeHeaderCode
 | 
						|
    #include "qgsrasterresampler.h"
 | 
						|
    #include "qgsbilinearrasterresampler.h"
 | 
						|
    #include "qgscubicrasterresampler.h"
 | 
						|
 | 
						|
%End
 | 
						|
 | 
						|
%ConvertToSubClassCode
 | 
						|
  if (dynamic_cast<QgsBilinearRasterResampler*>(sipCpp) != NULL)
 | 
						|
    sipType = sipType_QgsBilinearRasterResampler;
 | 
						|
  else if (dynamic_cast<QgsCubicRasterResampler*>(sipCpp) != NULL)
 | 
						|
    sipType = sipType_QgsCubicRasterResampler;
 | 
						|
  else
 | 
						|
    sipType = 0;
 | 
						|
%End
 | 
						|
 | 
						|
  public:
 | 
						|
    virtual ~QgsRasterResampler();
 | 
						|
    virtual void resample( const QImage& srcImage, QImage& dstImage ) = 0;
 | 
						|
    virtual QString type() const = 0;
 | 
						|
    virtual QgsRasterResampler * clone() const = 0 /Factory/;
 | 
						|
};
 |