QGIS API Documentation
3.10.0-A Coruña (6c816b4204)
|
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 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... | |
Protected Attributes | |
std::unique_ptr< QgsMeshLayerRendererFeedback > | mFeedback |
feedback class for cancellation More... | |
QgsMesh | mNativeMesh |
QSize | mOutputSize |
QgsMeshRendererSettings | mRendererSettings |
QgsMeshDataBlock | mScalarActiveFaceFlagValues |
bool | mScalarDataOnVertices = true |
double | mScalarDatasetMaximum = std::numeric_limits<double>::quiet_NaN() |
double | mScalarDatasetMinimum = std::numeric_limits<double>::quiet_NaN() |
QVector< double > | mScalarDatasetValues |
QgsTriangularMesh | mTriangularMesh |
bool | mVectorDataOnVertices = true |
double | mVectorDatasetGroupMagMaximum = std::numeric_limits<double>::quiet_NaN() |
double | mVectorDatasetGroupMagMinimum = std::numeric_limits<double>::quiet_NaN() |
double | mVectorDatasetMagMaximum = std::numeric_limits<double>::quiet_NaN() |
double | mVectorDatasetMagMinimum = std::numeric_limits<double>::quiet_NaN() |
QgsMeshDataBlock | mVectorDatasetValues |
QVector< double > | mVectorDatasetValuesMag |
Protected Attributes inherited from QgsMapLayerRenderer | |
QStringList | mErrors |
QString | mLayerID |
Implementation of threaded rendering for mesh layers.
Definition at line 85 of file qgsmeshlayerrenderer.h.
QgsMeshLayerRenderer::QgsMeshLayerRenderer | ( | QgsMeshLayer * | layer, |
QgsRenderContext & | context | ||
) |
Ctor.
Definition at line 39 of file qgsmeshlayerrenderer.cpp.
|
overridedefault |
|
overridevirtual |
Access to feedback object of the layer renderer (may be nullptr
)
Reimplemented from QgsMapLayerRenderer.
Definition at line 59 of file qgsmeshlayerrenderer.cpp.
|
overridevirtual |
Do the rendering (based on data stored in the class)
Implements QgsMapLayerRenderer.
Definition at line 200 of file qgsmeshlayerrenderer.cpp.
|
protected |
feedback class for cancellation
Definition at line 105 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 108 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 133 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 130 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 115 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 116 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 118 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 117 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 114 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 111 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 127 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 126 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 125 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 124 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 123 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 121 of file qgsmeshlayerrenderer.h.
|
protected |
Definition at line 122 of file qgsmeshlayerrenderer.h.