QGIS API Documentation  3.2.0-Bonn (bc43194)
Public Member Functions | List of all members
QgsRasterResampler Class Referenceabstract

Interface for resampling rasters (e.g. More...

#include <qgsrasterresampler.h>

Inheritance diagram for QgsRasterResampler:
Inheritance graph
[legend]

Public Member Functions

virtual ~QgsRasterResampler ()=default
 
virtual QgsRasterResamplerclone () const =0
 Gets a deep copy of this object. More...
 
virtual void resample (const QImage &srcImage, QImage &dstImage)=0
 
virtual QString type () const =0
 Gets a descriptive type identifier for this raster resampler. More...
 

Detailed Description

Interface for resampling rasters (e.g.

to have a smoother appearance)

Definition at line 30 of file qgsrasterresampler.h.

Constructor & Destructor Documentation

◆ ~QgsRasterResampler()

virtual QgsRasterResampler::~QgsRasterResampler ( )
virtualdefault

Member Function Documentation

◆ clone()

virtual QgsRasterResampler* QgsRasterResampler::clone ( ) const
pure virtual

Gets a deep copy of this object.

Needs to be reimplemented by subclasses. Ownership is transferred to the caller.

Implemented in QgsBilinearRasterResampler, and QgsCubicRasterResampler.

◆ resample()

virtual void QgsRasterResampler::resample ( const QImage &  srcImage,
QImage &  dstImage 
)
pure virtual

◆ type()

virtual QString QgsRasterResampler::type ( ) const
pure virtual

Gets a descriptive type identifier for this raster resampler.

Needs to be implemented by subclasses.

Implemented in QgsBilinearRasterResampler, and QgsCubicRasterResampler.


The documentation for this class was generated from the following file: