QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Implementation of threaded rendering for mesh layers. More...
#include <qgsmeshlayerrenderer.h>
Public Member Functions | |
QgsMeshLayerRenderer (QgsMeshLayer *layer, QgsRenderContext &context) | |
Ctor. More... | |
~QgsMeshLayerRenderer () override=default | |
QgsFeedback * | feedback () const override |
Access to feedback object of the layer renderer (may be null) 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) | |
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... | |
Protected Attributes | |
QgsRenderContext & | mContext |
std::unique_ptr< QgsMeshLayerRendererFeedback > | mFeedback |
feedback class for cancelation More... | |
QgsMesh | mNativeMesh |
std::unique_ptr< QgsSymbol > | mNativeMeshSymbol = nullptr |
QSize | mOutputSize |
QgsMeshRendererMeshSettings | mRendererNativeMeshSettings |
QgsMeshRendererScalarSettings | mRendererScalarSettings |
QgsMeshRendererMeshSettings | mRendererTriangularMeshSettings |
QgsMeshRendererVectorSettings | mRendererVectorSettings |
bool | mScalarDataOnVertices = true |
QVector< double > | mScalarDatasetValues |
QgsTriangularMesh | mTriangularMesh |
std::unique_ptr< QgsSymbol > | mTriangularMeshSymbol = nullptr |
bool | mVectorDataOnVertices = true |
QVector< double > | mVectorDatasetValuesMag |
QVector< double > | mVectorDatasetValuesX |
QVector< double > | mVectorDatasetValuesY |
Protected Attributes inherited from QgsMapLayerRenderer | |
QStringList | mErrors |
QString | mLayerID |
Implementation of threaded rendering for mesh layers.
Definition at line 57 of file qgsmeshlayerrenderer.h.
QgsMeshLayerRenderer::QgsMeshLayerRenderer | ( | QgsMeshLayer * | layer, |
QgsRenderContext & | context | ||
) |
Ctor.
Definition at line 37 of file qgsmeshlayerrenderer.cpp.
|
overridedefault |
|
overridevirtual |
Access to feedback object of the layer renderer (may be null)
Reimplemented from QgsMapLayerRenderer.
Definition at line 61 of file qgsmeshlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 155 of file qgsmeshlayerrenderer.cpp.
|
protected |
Definition at line 102 of file qgsmeshlayerrenderer.h.
|
protected |
feedback class for cancelation
Definition at line 77 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 80 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 96 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 111 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 105 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 107 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 106 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 108 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 87 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 86 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 83 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 99 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 93 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 92 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 90 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 91 of file qgsmeshlayerrenderer.h.