18#ifndef QGSRASTERPIPE_H
19#define QGSRASTERPIPE_H
41#if defined( Q_OS_WIN )
101 sipRes = sipCpp->insert( a0, a1 );
105 PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
107 sipTransferTo( o, NULL );
151 bool remove(
int idx );
163 int size()
const {
return mInterfaces.size(); }
180 bool setOn(
int idx,
bool on );
185 bool canSetOn(
int idx,
bool on );
294 QVector<QgsRasterInterface *> mInterfaces;
296 QMap<Qgis::RasterPipeInterfaceRole, int> mRoleMap;
305 bool checkBounds(
int idx )
const;
314 bool connect( QVector<QgsRasterInterface *> interfaces );
324 static void initPropertyDefinitions();
RasterResamplingStage
Stage at which raster resampling occurs.
@ ResampleFilter
Resampling occurs in ResamplingFilter.
RasterPipeInterfaceRole
Raster pipe interface roles.
Brightness/contrast and gamma correction filter pipe for rasters.
Handles contrast enhancement and clipping.
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Color and saturation filter pipe for rasters.
A grouped map of multiple QgsProperty objects, each referenced by an integer key value.
Base class for raster data providers.
Base class for processing filters like renderers, reprojector, resampler etc.
Raster pipe that deals with null values.
Contains a pipeline of raster interfaces for sequential raster processing.
int size() const
Returns the size of the pipe (the number of interfaces contained in the pipe).
QgsRasterInterface * last() const
Returns last interface in the pipe.
QgsRasterPipe()=default
Constructor for an empty QgsRasterPipe.
void moveToThread(QThread *thread)
Moves the pipe to another thread.
const QgsPropertyCollection & dataDefinedProperties() const
Returns a reference to the pipe's property collection, used for data defined overrides.
QgsPropertyCollection & dataDefinedProperties()
Returns a reference to the pipe's property collection, used for data defined overrides.
Property
Data definable properties.
bool insert(int idx, QgsRasterInterface *interface)
Attempts to insert interface at specified index and connect if connection would fail,...
QgsRasterInterface * at(int idx) const
Returns the interface at the specified index.
Qgis::RasterResamplingStage resamplingStage() const
Returns which stage of the pipe should apply resampling.
QgsRasterPipe & operator=(const QgsRasterPipe &rh)=delete
void setDataDefinedProperties(const QgsPropertyCollection &collection)
Sets the pipe's property collection, used for data defined overrides.
Implements approximate projection support for optimised raster transformation.
Raster renderer pipe that applies colors to a raster.
Resample filter pipe for rasters.
#define SIP_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.