18#ifndef QGSRASTERPIPE_H
19#define QGSRASTERPIPE_H
89 void moveToThread( QThread *thread );
101 sipRes = sipCpp->insert( a0, a1 );
105 PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
107 sipTransferTo( o, NULL );
150 bool remove(
int idx );
162 int size()
const {
return mInterfaces.size(); }
179 bool setOn(
int idx,
bool on );
184 bool canSetOn(
int idx,
bool on );
293 QVector<QgsRasterInterface *> mInterfaces;
295 QMap<Qgis::RasterPipeInterfaceRole, int> mRoleMap;
304 bool checkBounds(
int idx )
const;
313 bool connect( QVector<QgsRasterInterface *> interfaces );
323 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.