18 #ifndef QGSMESHLAYERRENDERER_H
19 #define QGSMESHLAYERRENDERER_H
55 struct CORE_NO_EXPORT QgsMeshLayerRendererCache
57 int mDatasetGroupsCount = 0;
61 QVector<double> mScalarDatasetValues;
64 double mScalarDatasetMinimum = std::numeric_limits<double>::quiet_NaN();
65 double mScalarDatasetMaximum = std::numeric_limits<double>::quiet_NaN();
67 std::unique_ptr<QgsMesh3dAveragingMethod> mScalarAveragingMethod;
72 QVector<double> mVectorDatasetValuesMag;
73 double mVectorDatasetMagMinimum = std::numeric_limits<double>::quiet_NaN();
74 double mVectorDatasetMagMaximum = std::numeric_limits<double>::quiet_NaN();
75 double mVectorDatasetGroupMagMinimum = std::numeric_limits<double>::quiet_NaN();
76 double mVectorDatasetGroupMagMaximum = std::numeric_limits<double>::quiet_NaN();
78 std::unique_ptr<QgsMesh3dAveragingMethod> mVectorAveragingMethod;
103 void renderFaceMesh(
const QgsMeshRendererMeshSettings &settings,
const QVector<QgsMeshFace> &faces,
const QList<int> &facesInExtent );
104 void renderScalarDataset();
108 void renderVectorDataset();
112 void calculateOutputSize();
114 bool mIsMeshSimplificationActive =
false;
119 std::unique_ptr<QgsMeshLayerRendererFeedback>
mFeedback;
154 #endif // QGSMESHLAYERRENDERER_H