QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
#include <qgsrasterlayerrenderer.h>
Public Member Functions | |
QgsRasterLayerRenderer (QgsRasterLayer *layer, QgsRenderContext &rendererContext) | |
~QgsRasterLayerRenderer () override | |
QgsFeedback * | feedback () const override |
Access to feedback object of the layer renderer (may be nullptr ) More... | |
bool | render () override |
Do the rendering (based on data stored in the class) More... | |
Public Member Functions inherited from QgsMapLayerRenderer | |
QgsMapLayerRenderer (const QString &layerID, QgsRenderContext *context=nullptr) | |
Constructor for QgsMapLayerRenderer, with the associated layerID and render context. More... | |
virtual | ~QgsMapLayerRenderer ()=default |
QStringList | errors () const |
Returns list of errors (problems) that happened during the rendering. More... | |
QString | layerId () const |
Gets access to the ID of the layer rendered by this class. More... | |
QgsRenderContext * | renderContext () |
Returns the render context associated with the renderer. More... | |
Friends | |
class | QgsRasterLayerRendererFeedback |
Additional Inherited Members | |
Protected Attributes inherited from QgsMapLayerRenderer | |
QStringList | mErrors |
QString | mLayerID |
Implementation of threaded rendering for raster layers.
Definition at line 69 of file qgsrasterlayerrenderer.h.
QgsRasterLayerRenderer::QgsRasterLayerRenderer | ( | QgsRasterLayer * | layer, |
QgsRenderContext & | rendererContext | ||
) |
Definition at line 65 of file qgsrasterlayerrenderer.cpp.
|
override |
Definition at line 258 of file qgsrasterlayerrenderer.cpp.
|
overridevirtual |
Access to feedback object of the layer renderer (may be nullptr
)
Reimplemented from QgsMapLayerRenderer.
Definition at line 308 of file qgsrasterlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 266 of file qgsrasterlayerrenderer.cpp.
|
friend |
Definition at line 89 of file qgsrasterlayerrenderer.h.