45 mInputBandComboBox->setBand( rcr->
inputBand() );
48 mDownscaleSpinBox->setValue( rcr->
downscale() );
76 renderer->setInputBand( mInputBandComboBox->currentBand() );
77 renderer->setContourInterval( mContourIntervalSpinBox->value() );
78 renderer->setContourIndexInterval( mIndexContourIntervalSpinBox->value() );
79 renderer->setDownscale( mDownscaleSpinBox->value() );
A line symbol type, for rendering LineString and MultiLineString geometries.
QgsLineSymbol * clone() const override
Returns a deep copy of this symbol.
void bandChanged(int band)
Emitted when the currently selected band changes.
Raster renderer that generates contours on the fly for a source raster band.
QgsLineSymbol * contourIndexSymbol() const
Returns the symbol of index contour lines.
double downscale() const
Returns by how much the renderer will scale down the request to the data provider.
QgsLineSymbol * contourSymbol() const
Returns the symbol used for contour lines.
int inputBand() const
Returns the number of the input raster band.
double contourInterval() const
Returns the interval of contour lines generation.
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.
Represents a raster layer.
QgsRasterRenderer * renderer() const
Returns the raster's renderer.
QgsRasterDataProvider * dataProvider() override
Returns the source data provider.
Raster renderer pipe that applies colors to a raster.
A rectangle specified with double values.