QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
raster
qgscubicrasterresampler.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgscubicrasterresampler.h
3
----------------------------
4
begin : December 2011
5
copyright : (C) 2011 by Marco Hugentobler
6
email : marco at sourcepole dot ch
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSCUBICRASTERRESAMPLER_H
19
#define QGSCUBICRASTERRESAMPLER_H
20
21
#include "
qgis.h
"
22
#include "qgis_core.h"
23
#include "
qgis_sip.h
"
24
#include "
qgsrasterresampler.h
"
25
26
#include <QColor>
27
32
class
CORE_EXPORT
QgsCubicRasterResampler
:
public
QgsRasterResamplerV2
33
{
34
public
:
35
QgsCubicRasterResampler
() =
default
;
36
QgsCubicRasterResampler
*
clone
() const override
SIP_FACTORY
;
37
38
QImage
resampleV2
( const QImage &source, const QSize &size ) override;
39
43
Q_DECL_DEPRECATED
void
resample
( const QImage &srcImage, QImage &dstImage ) override
SIP_DEPRECATED
;
44
QString
type
() const override;
45
int
tileBufferPixels
() const override;
46
};
47
48
#endif
// QGSCUBICRASTERRESAMPLER_H
QgsCubicRasterResampler::type
QString type() const override
Gets a descriptive type identifier for this raster resampler.
Definition
qgscubicrasterresampler.cpp:46
QgsCubicRasterResampler::resample
Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage) override
Definition
qgscubicrasterresampler.cpp:40
QgsCubicRasterResampler::tileBufferPixels
int tileBufferPixels() const override
Returns the optional tile buffer size in pixels.
Definition
qgscubicrasterresampler.cpp:51
QgsCubicRasterResampler::QgsCubicRasterResampler
QgsCubicRasterResampler()=default
QgsCubicRasterResampler::resampleV2
QImage resampleV2(const QImage &source, const QSize &size) override
Resamples a source image to the specified size.
Definition
qgscubicrasterresampler.cpp:34
QgsRasterResamplerV2
Interface for resampling rasters (V2) (e.g.
Definition
qgsrasterresampler.h:96
QgsRasterResampler::clone
virtual QgsRasterResampler * clone() const =0
Gets a deep copy of this object.
qgis.h
qgis_sip.h
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition
qgis_sip.h:113
SIP_FACTORY
#define SIP_FACTORY
Definition
qgis_sip.h:83
qgsrasterresampler.h
Generated on
for QGIS API Documentation by
1.17.0