|
QGIS API Documentation
master-3f58142
|
00001 /*************************************************************************** 00002 qgsrasterresampler.h 00003 -------------------- 00004 begin : December 2011 00005 copyright : (C) 2011 by Marco Hugentobler 00006 email : marco at sourcepole dot ch 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef QGSRASTERRESAMPLER_H 00019 #define QGSRASTERRESAMPLER_H 00020 00021 #include <QString> 00022 00023 class QImage; 00024 00028 class QgsRasterResampler 00029 { 00030 public: 00031 virtual ~QgsRasterResampler() {} 00032 virtual void resample( const QImage& srcImage, QImage& dstImage ) = 0; 00033 virtual QString type() const = 0; 00034 virtual QgsRasterResampler * clone() const = 0; 00035 }; 00036 00037 #endif // QGSRASTERRESAMPLER_H