QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
Implementation of threaded rendering for vector layers. More...
#include <qgsvectorlayerrenderer.h>
Public Member Functions | |
QgsVectorLayerRenderer (QgsVectorLayer *layer, QgsRenderContext &context) | |
~QgsVectorLayerRenderer () | |
virtual bool | render () override |
Do the rendering (based on data stored in the class) More... | |
void | setGeometryCachePointer (QgsGeometryCache *cache) |
where to save the cached geometries More... | |
Public Member Functions inherited from QgsMapLayerRenderer | |
QgsMapLayerRenderer (const QString &layerID) | |
virtual | ~QgsMapLayerRenderer () |
QStringList | errors () const |
Return list of errors (problems) that happened during the rendering. More... | |
virtual QgsFeedback * | feedback () const |
Access to feedback object of the layer renderer (may be null) More... | |
QString | layerID () const |
Get access to the ID of the layer rendered by this class. More... | |
Implementation of threaded rendering for vector layers.
Definition at line 67 of file qgsvectorlayerrenderer.h.
QgsVectorLayerRenderer::QgsVectorLayerRenderer | ( | QgsVectorLayer * | layer, |
QgsRenderContext & | context | ||
) |
Definition at line 44 of file qgsvectorlayerrenderer.cpp.
QgsVectorLayerRenderer::~QgsVectorLayerRenderer | ( | ) |
Definition at line 112 of file qgsvectorlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 119 of file qgsvectorlayerrenderer.cpp.
void QgsVectorLayerRenderer::setGeometryCachePointer | ( | QgsGeometryCache * | cache | ) |
where to save the cached geometries
Definition at line 266 of file qgsvectorlayerrenderer.cpp.
|
protected |
Definition at line 125 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 117 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 102 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsLabelingEngineV2): provider for diagrams.
may be null. no need to delete: if exists it is owned by labeling engine
Definition at line 137 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsPalLabeling): whether diagrams are enabled
Definition at line 130 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 119 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 139 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 109 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 123 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 104 of file qgsvectorlayerrenderer.h.
|
protected |
used with old labeling engine (QgsPalLabeling): whether labeling is enabled
Definition at line 128 of file qgsvectorlayerrenderer.h.
|
protected |
used with new labeling engine (QgsLabelingEngineV2): provider for labels.
may be null. no need to delete: if exists it is owned by labeling engine
Definition at line 134 of file qgsvectorlayerrenderer.h.
|
protected |
The rendered layer.
Definition at line 107 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 115 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 111 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 142 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 141 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 113 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 120 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 121 of file qgsvectorlayerrenderer.h.
|
protected |
Definition at line 121 of file qgsvectorlayerrenderer.h.