18 #ifndef QGSMESHLAYERRENDERER_H 19 #define QGSMESHLAYERRENDERER_H 52 struct CORE_NO_EXPORT QgsMeshLayerRendererCache
54 int mDatasetGroupsCount = 0;
58 QVector<double> mScalarDatasetValues;
59 QVector<bool> mScalarActiveFaceFlagValues;
60 bool mScalarDataOnVertices =
true;
61 double mScalarDatasetMinimum = std::numeric_limits<double>::quiet_NaN();
62 double mScalarDatasetMaximum = std::numeric_limits<double>::quiet_NaN();
66 QVector<double> mVectorDatasetValuesX;
67 QVector<double> mVectorDatasetValuesY;
68 QVector<double> mVectorDatasetValuesMag;
69 double mVectorDatasetMagMinimum = std::numeric_limits<double>::quiet_NaN();
70 double mVectorDatasetMagMaximum = std::numeric_limits<double>::quiet_NaN();
71 bool mVectorDataOnVertices =
true;
90 bool render()
override;
95 void renderScalarDataset();
96 void renderVectorDataset();
99 void calculateOutputSize();
103 std::unique_ptr<QgsMeshLayerRendererFeedback>
mFeedback;
114 bool mScalarDataOnVertices =
true;
115 double mScalarDatasetMinimum = std::numeric_limits<double>::quiet_NaN();
116 double mScalarDatasetMaximum = std::numeric_limits<double>::quiet_NaN();
122 double mVectorDatasetMagMinimum = std::numeric_limits<double>::quiet_NaN();
123 double mVectorDatasetMagMaximum = std::numeric_limits<double>::quiet_NaN();
124 bool mVectorDataOnVertices =
true;
137 #endif // QGSMESHLAYERRENDERER_H QVector< bool > mScalarActiveFaceFlagValues
QVector< double > mVectorDatasetValuesX
Triangular/Derived Mesh is mesh with vertices in map coordinates.
QgsMeshRendererSettings mRendererSettings
Represents a mesh renderer settings for mesh object.
QVector< double > mScalarDatasetValues
Implementation of threaded rendering for mesh layers.
QVector< double > mVectorDatasetValuesMag
QgsTriangularMesh mTriangularMesh
Base class for feedback objects to be used for cancellation of something running in a worker thread...
Represents all mesh renderer settings.
QVector< double > mVectorDatasetValuesY
std::unique_ptr< QgsMeshLayerRendererFeedback > mFeedback
feedback class for cancellation
QgsRenderContext & mContext
Contains information about the context of a rendering operation.
Mesh - vertices and faces.
QgsMeshDatasetIndex is index that identifies the dataset group (e.g.
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.
Feedback object tailored for raster block reading.