QGIS API Documentation
3.14.0-Pi (9f7028fd23)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
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 "
qgsrasterresampler.h
"
22
#include "
qgis_sip.h
"
23
#include "
qgis.h
"
24
#include <QColor>
25
26
#include "qgis_core.h"
27
32
class
CORE_EXPORT
QgsCubicRasterResampler
:
public
QgsRasterResamplerV2
33
{
34
public
:
35
39
QgsCubicRasterResampler
() =
default
;
40
QgsCubicRasterResampler
*
clone
()
const
override
SIP_FACTORY
;
41
42
QImage
resampleV2
(
const
QImage &source,
const
QSize &size )
override
;
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
QgsRasterResampler::tileBufferPixels
virtual int tileBufferPixels() const
Returns the optional tile buffer size in pixels.
Definition:
qgsrasterresampler.h:85
qgis.h
qgsrasterresampler.h
QgsRasterResampler::resample
virtual Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage)=0
Resamples a source image to a destination image.
SIP_FACTORY
#define SIP_FACTORY
Definition:
qgis_sip.h:76
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition:
qgis_sip.h:106
QgsRasterResamplerV2
Definition:
qgsrasterresampler.h:96
qgis_sip.h
QgsCubicRasterResampler
Definition:
qgscubicrasterresampler.h:32
QgsRasterResampler::clone
virtual QgsRasterResampler * clone() const =0
Gets a deep copy of this object.
QgsRasterResamplerV2::resampleV2
virtual QImage resampleV2(const QImage &source, const QSize &size)=0
Resamples a source image to the specified size.
QgsRasterResampler::type
virtual QString type() const =0
Gets a descriptive type identifier for this raster resampler.
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17