18 #ifndef QGSMESHLAYERRENDERER_H 19 #define QGSMESHLAYERRENDERER_H 64 bool render()
override;
67 void renderMesh(
const std::unique_ptr<QgsSymbol> &symbol,
const QVector<QgsMeshFace> &faces );
68 void renderScalarDataset();
69 void renderVectorDataset();
73 void calculateOutputSize();
77 std::unique_ptr<QgsMeshLayerRendererFeedback>
mFeedback;
87 bool mScalarDataOnVertices =
true;
93 bool mVectorDataOnVertices =
true;
96 std::unique_ptr<QgsSymbol> mNativeMeshSymbol =
nullptr;
99 std::unique_ptr<QgsSymbol> mTriangularMeshSymbol =
nullptr;
115 #endif // QGSMESHLAYERRENDERER_H QVector< double > mVectorDatasetValuesX
Represents a mesh renderer settings for mesh object.
Represents a mesh renderer settings for scalar datasets.
QVector< double > mScalarDatasetValues
Implementation of threaded rendering for mesh layers.
QVector< double > mVectorDatasetValuesMag
QgsTriangularMesh mTriangularMesh
Base class for feedback objects to be used for cancelation of something running in a worker thread...
Represents a mesh renderer settings for vector datasets.
QgsMeshRendererScalarSettings mRendererScalarSettings
QVector< double > mVectorDatasetValuesY
std::unique_ptr< QgsMeshLayerRendererFeedback > mFeedback
feedback class for cancelation
QgsMeshRendererVectorSettings mRendererVectorSettings
QgsRenderContext & mContext
Contains information about the context of a rendering operation.
Mesh - vertices and faces.
QgsMeshRendererMeshSettings mRendererNativeMeshSettings
Base class for utility classes that encapsulate information necessary for rendering of map layers...
Represents a mesh layer supporting display of data on structured or unstructured meshes.
QgsMeshRendererMeshSettings mRendererTriangularMeshSettings
Feedback object tailored for raster block reading.