QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
Implementation of threaded rendering for vector layers. More...
#include <qgsvectorlayerrenderer.h>
Public Member Functions | |
QgsVectorLayerRenderer (QgsVectorLayer *layer, QgsRenderContext &context) | |
~QgsVectorLayerRenderer () 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... | |
Implementation of threaded rendering for vector layers.
Definition at line 74 of file qgsvectorlayerrenderer.h.
QgsVectorLayerRenderer::QgsVectorLayerRenderer | ( | QgsVectorLayer * | layer, |
QgsRenderContext & | context | ||
) |
Definition at line 45 of file qgsvectorlayerrenderer.cpp.
|
override |
Definition at line 122 of file qgsvectorlayerrenderer.cpp.
|
overridevirtual |
Access to feedback object of the layer renderer (may be nullptr
)
Reimplemented from QgsMapLayerRenderer.
Definition at line 128 of file qgsvectorlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 133 of file qgsvectorlayerrenderer.cpp.
|
protected |
Definition at line 128 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsLabelingEngine): provider for diagrams.
may be nullptr
. no need to delete: if exists it is owned by labeling engine
Definition at line 145 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsPalLabeling): whether diagrams are enabled
Definition at line 133 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 121 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 147 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 113 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 126 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 108 of file qgsvectorlayerrenderer.h.
|
protected |
used with old labeling engine (QgsPalLabeling): whether labeling is enabled
Definition at line 131 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsLabelingEngine): provider for labels.
may be nullptr
. no need to delete: if exists it is owned by labeling engine
Definition at line 139 of file qgsvectorlayerrenderer.h.
|
protected |
The rendered layer.
Definition at line 111 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 119 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 115 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 150 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 149 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 117 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 122 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 124 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 123 of file qgsvectorlayerrenderer.h.