QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
45 mInputBandComboBox->setBand( rcr->
inputBand() );
48 mDownscaleSpinBox->setValue( rcr->
downscale() );
76 renderer->
setInputBand( mInputBandComboBox->currentBand() );
void bandChanged(int band)
Emitted when the currently selected band changes.
void setInputBand(int band)
Sets the number of the input raster band.
void setDownscale(double scale)
Sets by how much the renderer will scale down the request to the data provider.
QgsLineSymbol * clone() const override
Returns a deep copy of this symbol.
QgsLineSymbol * contourSymbol() const
Returns the symbol used for contour lines.
void setContourSymbol(QgsLineSymbol *symbol)
Sets the symbol used for contour lines. Takes ownership of the passed symbol.
double contourInterval() const
Returns the interval of contour lines generation.
void setContourIndexInterval(double interval)
Sets the interval of index contour lines (index contour lines are typical further apart and with a wi...
int inputBand() const
Returns the number of the input raster band.
A rectangle specified with double values.
QgsLineSymbol * contourIndexSymbol() const
Returns the symbol of index contour lines.
QgsRasterRenderer * renderer() const
Returns the raster's renderer.
void setContourInterval(double interval)
Sets the interval of contour lines generation.
Raster renderer pipe that applies colors to a raster.
Raster renderer that generates contours on the fly for a source raster band.
void setContourIndexSymbol(QgsLineSymbol *symbol)
Sets the symbol of index contour lines.
A line symbol type, for rendering LineString and MultiLineString geometries.
Represents a raster layer.
double downscale() const
Returns by how much the renderer will scale down the request to the data provider.
double contourIndexInterval() const
Returns the interval of index contour lines (index contour lines are typical further apart and with a...
Base class for raster data providers.
QgsRasterDataProvider * dataProvider() override
Returns the source data provider.