18#ifndef QGSRASTERPIPE_H
19#define QGSRASTERPIPE_H
86 sipRes = sipCpp->insert( a0, a1 );
90 PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
92 sipTransferTo( o, NULL );
135 bool remove(
int idx );
147 int size()
const {
return mInterfaces.size(); }
164 bool setOn(
int idx,
bool on );
169 bool canSetOn(
int idx,
bool on );
278 QVector<QgsRasterInterface *> mInterfaces;
280 QMap<Qgis::RasterPipeInterfaceRole, int> mRoleMap;
289 bool checkBounds(
int idx )
const;
298 bool connect( QVector<QgsRasterInterface *> interfaces );
308 static void initPropertyDefinitions();
RasterResamplingStage
Stage at which raster resampling occurs.
@ ResampleFilter
Resampling occurs in ResamplingFilter.
RasterPipeInterfaceRole
Sublayer flags.
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.
QgsRasterInterface * at(int idx) const
Returns the interface at the specified index.
Property
Data definable properties.
@ RendererOpacity
Raster renderer global opacity.
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.
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.