| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   16 #ifndef QGSRASTERCONTOURRENDERER_H 
   17 #define QGSRASTERCONTOURRENDERER_H 
   47     void writeXml( QDomDocument &doc, QDomElement &parentElem ) const override;
 
   51     QList<
int> usesBands() const override;
 
   56     int inputBand()
 const { 
return mInputBand; }
 
  101     std::unique_ptr<QgsLineSymbol> mContourSymbol;   
 
  102     std::unique_ptr<QgsLineSymbol> mContourIndexSymbol;  
 
  103     double mDownscale = 8.;
 
  104     double mContourInterval = 100.;
 
  105     double mContourIndexInterval = 0.;
 
  110 #endif // QGSRASTERCONTOURRENDERER_H 
  
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.
const QgsRasterContourRenderer & operator=(const QgsRasterContourRenderer &)=delete
QgsRasterContourRenderer cannot be copied. Use clone() instead.
QgsLineSymbol * contourSymbol() const
Returns the symbol used for contour lines.
double contourInterval() const
Returns the interval of contour lines generation.
QgsRasterContourRenderer(const QgsRasterContourRenderer &)=delete
QgsRasterContourRenderer cannot be copied. Use clone() instead.
void setContourIndexInterval(double interval)
Sets the interval of index contour lines (index contour lines are typical further apart and with a wi...
A rectangle specified with double values.
~QgsRasterContourRenderer() override
QgsLineSymbol * contourIndexSymbol() const
Returns the symbol of index contour lines.
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.
A line symbol type, for rendering LineString and MultiLineString geometries.
QgsRasterRenderer * clone() const override=0
Clone itself, create deep copy.
double downscale() const
Returns by how much the renderer will scale down the request to the data provider.
Base class for processing filters like renderers, reprojector, resampler etc.
Feedback object tailored for raster block reading.
const QgsRasterRenderer & operator=(const QgsRasterRenderer &)=delete
QgsRasterRenderer cannot be copied. Use clone() instead.
double contourIndexInterval() const
Returns the interval of index contour lines (index contour lines are typical further apart and with a...