18 #ifndef QGSALGORITHMEXPORTMESH_H
19 #define QGSALGORITHMEXPORTMESH_H
43 QString
group()
const override;
44 QString
groupId()
const override;
47 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
54 virtual QSet<int> supportedDataType()
const = 0;
57 virtual QgsGeometry meshElement(
int index )
const = 0;
60 QList<DataGroup> mDataPerGroup;
62 int mExportVectorOption = 2;
63 int mElementCount = 0;
66 class QgsExportMeshVerticesAlgorithm :
public QgsExportMeshOnElement
69 QString shortHelpString()
const override;
70 QString shortDescription()
const override;
71 QString name()
const override;
72 QString displayName()
const override;
79 QSet<int> supportedDataType()
const override
84 QgsGeometry meshElement(
int index )
const override;
88 class QgsExportMeshFacesAlgorithm :
public QgsExportMeshOnElement
91 QString shortHelpString()
const override;
92 QString shortDescription()
const override;
93 QString name()
const override;
94 QString displayName()
const override;
101 QSet<int> supportedDataType()
const override
106 QgsGeometry meshElement(
int index )
const override;
110 class QgsExportMeshEdgesAlgorithm :
public QgsExportMeshOnElement
113 QString shortHelpString()
const override;
114 QString shortDescription()
const override;
115 QString name()
const override;
116 QString displayName()
const override;
123 QSet<int> supportedDataType()
const override
128 QgsGeometry meshElement(
int index )
const override;
137 QString
name()
const override;
139 QString
group()
const override;
140 QString
groupId()
const override;
146 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
152 QSet<int> supportedDataType();
156 QList<DataGroup> mDataPerGroup;
158 int mExportVectorOption = 2;
166 QString
name()
const override;
168 QString
group()
const override;
169 QString
groupId()
const override;
175 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
181 QSet<int> supportedDataType();
185 QList<DataGroup> mDataPerGroup;
194 QString
name()
const override;
196 QString
group()
const override;
197 QString
groupId()
const override;
203 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
209 QSet<int> supportedDataType()
220 QVector<double> mLevels;
222 QList<DataGroup> mDataPerGroup;
225 QString mDateTimeString;
233 QString
name()
const override;
235 QString
group()
const override;
236 QString
groupId()
const override;
242 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
248 QSet<int> supportedDataType()
259 QList<DataGroup> mDataPerGroup;
269 QString
name()
const override;
271 QString
group()
const override;
272 QString
groupId()
const override;
278 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
284 QSet<int> supportedDataType()
298 QList<int> mGroupIndexes;
299 QList<DataGroup> mDatasets;
300 QList<qint64> mRelativeTimeSteps;
301 QStringList mTimeStepString;
302 QMap<qint64, QMap<int, int>> mRelativeTimeToData;
303 QMap<int, QgsMeshDatasetGroupMetadata> mGroupsMetadata;
310 #endif // QGSALGORITHMEXPORTMESH_H