18#ifndef QGSRASTERPIPE_H
19#define QGSRASTERPIPE_H
92 void moveToThread( QThread *thread );
104 sipRes = sipCpp->insert( a0, a1 );
108 PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
110 sipTransferTo( o, NULL );
153 bool remove(
int idx );
165 int size()
const {
return mInterfaces.size(); }
182 bool setOn(
int idx,
bool on );
187 bool canSetOn(
int idx,
bool on );
296 QVector<QgsRasterInterface *> mInterfaces;
298 QMap<Qgis::RasterPipeInterfaceRole, int> mRoleMap;
307 bool checkBounds(
int idx )
const;
316 bool connect( QVector<QgsRasterInterface *> interfaces );
326 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.
Manipulates raster or point cloud pixel values so that they enhanceContrast or clip into a specified ...
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 a 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.
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.
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.
QgsRasterProjector implements approximate projection support for it calculates grid of points in sour...
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.