18 #ifndef QGSRASTERPIPE_H
19 #define QGSRASTERPIPE_H
21 #include "qgis_core.h"
59 HueSaturationRole = 7,
80 sipRes = sipCpp->insert( a0, a1 );
84 PyObject *o = sipGetPyObject( a1, sipType_QgsRasterInterface );
86 sipTransferTo( o, NULL );
107 bool remove(
int idx );
112 int size()
const {
return mInterfaces.size(); }
120 bool setOn(
int idx,
bool on );
123 bool canSetOn(
int idx,
bool on );
154 void setResamplingStage( ResamplingStage stage );
171 QVector<QgsRasterInterface *> mInterfaces;
173 QMap<Role, int> mRoleMap;
182 bool checkBounds(
int idx )
const;
191 bool connect( QVector<QgsRasterInterface *> interfaces );
193 ResamplingStage mResamplingStage = ResamplingStage::ResampleFilter;
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 ...
Color and saturation filter pipe for rasters.
Base class for raster data providers.
Base class for processing filters like renderers, reprojector, resampler etc.
Raster pipe that deals with null values.
Base class for processing modules.
QgsRasterPipe & operator=(const QgsRasterPipe &rh)=delete
QgsRasterPipe()=default
Constructor for QgsRasterPipe.
ResamplingStage
Stage at which resampling occurs.
QgsRasterInterface * last() const
ResamplingStage resamplingStage() const
Returns which stage of the pipe should apply resampling.
QgsRasterInterface * at(int idx) const
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.