QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSRASTERRENDERERWIDGET_H
19 #define QGSRASTERRENDERERWIDGET_H
47 : mRasterLayer( layer )
88 virtual QString
min(
int index = 0 ) { Q_UNUSED( index )
return QString(); }
89 virtual QString
max(
int index = 0 ) { Q_UNUSED( index )
return QString(); }
90 virtual void setMin(
const QString &value,
int index = 0 ) { Q_UNUSED( index ) Q_UNUSED( value ); }
91 virtual void setMax(
const QString &value,
int index = 0 ) { Q_UNUSED( index ) Q_UNUSED( value ); }
92 virtual QString
stdDev() {
return QString(); }
93 virtual void setStdDev(
const QString &value ) { Q_UNUSED( value ) }
94 virtual int selectedBand(
int index = 0 ) { Q_UNUSED( index )
return -1; }
120 void widgetChanged();
132 #endif // QGSRASTERRENDERERWIDGET_H
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into allowing algorithms to be written in pure substantial changes are required in order to port existing x Processing algorithms for QGIS x The most significant changes are outlined not GeoAlgorithm For algorithms which operate on features one by consider subclassing the QgsProcessingFeatureBasedAlgorithm class This class allows much of the boilerplate code for looping over features from a vector layer to be bypassed and instead requires implementation of a processFeature method Ensure that your algorithm(or algorithm 's parent class) implements the new pure virtual createInstance(self) call
Map canvas is a class for displaying all GIS data types on a canvas.
A rectangle specified with double values.
ContrastEnhancementAlgorithm
This enumerator describes the types of contrast enhancement algorithms that can be used.
Raster renderer pipe that applies colors to a raster.
@ NoEnhancement
Default color scaling algorithm, no scaling is applied.
Represents a raster layer.