45 mInputBandComboBox->setBand( rcr->
inputBand() );
48 mDownscaleSpinBox->setValue( rcr->
downscale() );
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.
int inputBand() const override
Returns the input band for the renderer, or -1 if no input band is available.
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.
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.
virtual bool setInputBand(int band)
Attempts to set the input band for the renderer.
A rectangle specified with double values.