18 #ifndef QGSMESHDATAPROVIDER_H
19 #define QGSMESHDATAPROVIDER_H
28 #include "qgis_core.h"
75 bool contains(
const ElementType &type )
const;
78 int vertexCount()
const;
80 int faceCount()
const;
86 int edgeCount()
const;
144 virtual int vertexCount()
const = 0;
150 virtual int faceCount()
const = 0;
158 virtual int edgeCount()
const = 0;
164 virtual void populateMesh(
QgsMesh *mesh )
const = 0;
193 virtual bool addDataset(
const QString &uri ) = 0;
198 virtual QStringList extraDatasets()
const = 0;
203 virtual int datasetGroupCount( )
const = 0;
208 virtual int datasetCount(
int groupIndex )
const = 0;
307 Q_DECL_DEPRECATED
virtual bool persistDatasetGroup(
const QString &path,
309 const QVector<QgsMeshDataBlock> &datasetValues,
310 const QVector<QgsMeshDataBlock> &datasetActive,
311 const QVector<double> ×
331 virtual bool persistDatasetGroup(
const QString &outputFilePath,
332 const QString &outputDriver,
334 const QVector<QgsMeshDataBlock> &datasetValues,
335 const QVector<QgsMeshDataBlock> &datasetActive,
336 const QVector<double> ×
373 void datasetGroupsAdded(
int count );
376 std::unique_ptr<QgsMeshDataProviderTemporalCapabilities> mTemporalCapabilities;
379 #endif // QGSMESHDATAPROVIDER_H