QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsBilinearRasterResampler Class Reference

Bilinear raster resampler. More...

#include <qgsbilinearrasterresampler.h>

Inheritance diagram for QgsBilinearRasterResampler:

Public Member Functions

 QgsBilinearRasterResampler ()=default
QgsBilinearRasterResamplerclone () const override
 Gets a deep copy of this object.
Q_DECL_DEPRECATED void resample (const QImage &srcImage, QImage &dstImage) override
QImage resampleV2 (const QImage &source, const QSize &size) override
 Resamples a source image to the specified size.
int tileBufferPixels () const override
 Returns the optional tile buffer size in pixels.
QString type () const override
 Gets a descriptive type identifier for this raster resampler.
Public Member Functions inherited from QgsRasterResampler
virtual ~QgsRasterResampler ()=default

Detailed Description

Bilinear raster resampler.

Definition at line 32 of file qgsbilinearrasterresampler.h.

Constructor & Destructor Documentation

◆ QgsBilinearRasterResampler()

QgsBilinearRasterResampler::QgsBilinearRasterResampler ( )
default

Member Function Documentation

◆ clone()

QgsBilinearRasterResampler * QgsBilinearRasterResampler::clone ( ) const
overridevirtual

Gets a deep copy of this object.

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

Implements QgsRasterResampler.

Definition at line 26 of file qgsbilinearrasterresampler.cpp.

◆ resample()

Q_NOWARN_DEPRECATED_PUSH void QgsBilinearRasterResampler::resample ( const QImage & srcImage,
QImage & dstImage )
overridevirtual
Deprecated
QGIS 3.12. Use resampleV2() instead.

Implements QgsRasterResampler.

Definition at line 37 of file qgsbilinearrasterresampler.cpp.

◆ resampleV2()

Q_NOWARN_DEPRECATED_POP QImage QgsBilinearRasterResampler::resampleV2 ( const QImage & source,
const QSize & size )
overridevirtual

Resamples a source image to the specified size.

Returns the resampled image, or a null QImage if the resampling fails.

Implements QgsRasterResamplerV2.

Definition at line 43 of file qgsbilinearrasterresampler.cpp.

◆ tileBufferPixels()

int QgsBilinearRasterResampler::tileBufferPixels ( ) const
overridevirtual

Returns the optional tile buffer size in pixels.

This represents the size to buffer individual resampled tile requests prior to resampling, in order to avoid rendering artifacts at the edges of raster tile boundaries.

Since
QGIS 3.10.1

Reimplemented from QgsRasterResampler.

Definition at line 31 of file qgsbilinearrasterresampler.cpp.

◆ type()

QString QgsBilinearRasterResampler::type ( ) const
overridevirtual

Gets a descriptive type identifier for this raster resampler.

Needs to be implemented by subclasses.

Implements QgsRasterResampler.

Definition at line 48 of file qgsbilinearrasterresampler.cpp.


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