QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSRASTERPIPE_H
19 #define QGSRASTERPIPE_H
21 #include "qgis_core.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();
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Contains a pipeline of raster interfaces for sequential raster processing.
RasterResamplingStage
Stage at which raster resampling occurs.
void setDataDefinedProperties(const QgsPropertyCollection &collection)
Sets the pipe's property collection, used for data defined overrides.
Raster pipe that deals with null values.
const QgsPropertyCollection & dataDefinedProperties() const
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.
QgsRasterProjector implements approximate projection support for it calculates grid of points in sour...
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.
Qgis::RasterResamplingStage resamplingStage() const
Returns which stage of the pipe should apply resampling.
QgsPropertyCollection & dataDefinedProperties()
Returns a reference to the pipe's property collection, used for data defined overrides.
Raster renderer pipe that applies colors to a raster.
@ RendererOpacity
Raster renderer global opacity.
Color and saturation filter pipe for rasters.
RasterPipeInterfaceRole
Sublayer flags.
Manipulates raster or point cloud pixel values so that they enhanceContrast or clip into a specified ...
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Base class for processing filters like renderers, reprojector, resampler etc.
QgsRasterInterface * last() const
Returns last interface in the pipe.
Brightness/contrast and gamma correction filter pipe for rasters.
Resample filter pipe for rasters.
Property
Data definable properties.
@ ResampleFilter
Resampling occurs in ResamplingFilter.
Base class for raster data providers.
int size() const
Returns the size of the pipe (the number of interfaces contained in the pipe).