Class: QgsRasterResampleFilter

class qgis.core.QgsRasterResampleFilter

Bases: qgis._core.QgsRasterInterface

Resample filter pipe for rasters.

Enums

Methods

bandCount
block
clone
dataType
initHistogram
initStatistics
maxOversampling
readXml Sets base class members from xml.
setInput
setMaxOversampling
setZoomedInResampler Sets resampler for zoomed in scales.
setZoomedOutResampler Sets resampler for zoomed out scales.
writeXml
zoomedInResampler
zoomedOutResampler

Signals

Attributes

bandCount(self) → int
block(self, bandNo: int, extent: QgsRectangle, width: int, height: int, feedback: QgsRasterBlockFeedback = None) → QgsRasterBlock
clone(self) → QgsRasterResampleFilter
dataType(self, bandNo: int) → Qgis.DataType
initHistogram()
initStatistics()
maxOversampling(self) → float
readXml(self, filterElem: QDomElement)

Sets base class members from xml. Usually called from create() methods of subclasses

setInput(self, input: QgsRasterInterface) → bool
setMaxOversampling(self, os: float)
setZoomedInResampler(self, r: QgsRasterResampler)

Sets resampler for zoomed in scales. Takes ownership of the object

setZoomedOutResampler(self, r: QgsRasterResampler)

Sets resampler for zoomed out scales. Takes ownership of the object

writeXml(self, doc: QDomDocument, parentElem: QDomElement)
zoomedInResampler(self) → QgsRasterResampler
zoomedOutResampler(self) → QgsRasterResampler