QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSMESHDATAPROVIDER_H
19 #define QGSMESHDATAPROVIDER_H
28 #include "qgis_core.h"
76 bool contains(
const ElementType &type )
const;
79 int vertexCount()
const;
81 int faceCount()
const;
87 int edgeCount()
const;
151 virtual int vertexCount()
const = 0;
157 virtual int faceCount()
const = 0;
165 virtual int edgeCount()
const = 0;
181 virtual void populateMesh(
QgsMesh *mesh )
const = 0;
192 virtual bool saveMeshFrame(
const QgsMesh &mesh ) = 0;
222 virtual bool addDataset(
const QString &uri ) = 0;
227 virtual QStringList extraDatasets()
const = 0;
232 virtual int datasetGroupCount( )
const = 0;
237 virtual int datasetCount(
int groupIndex )
const = 0;
336 Q_DECL_DEPRECATED
virtual bool persistDatasetGroup(
const QString &path,
338 const QVector<QgsMeshDataBlock> &datasetValues,
339 const QVector<QgsMeshDataBlock> &datasetActive,
340 const QVector<double> ×
360 virtual bool persistDatasetGroup(
const QString &outputFilePath,
361 const QString &outputDriver,
363 const QVector<QgsMeshDataBlock> &datasetValues,
364 const QVector<QgsMeshDataBlock> &datasetActive,
365 const QVector<double> ×
383 virtual bool persistDatasetGroup(
const QString &outputFilePath,
384 const QString &outputDriver,
386 int datasetGroupIndex
416 QList<QgsMeshDatasetIndex> datasetIndexInTimeInterval(
const QDateTime &referenceTime,
419 qint64 time2 )
const;
443 QgsDataProvider::ReadFlags flags = QgsDataProvider::ReadFlags() );
473 virtual void close() = 0;
477 void datasetGroupsAdded(
int count );
481 #endif // QGSMESHDATAPROVIDER_H
Setting options for creating vector data providers.
Abstract base class for spatial data provider implementations.
Point geometry type, with support for z-dimension and m-values.
QgsPoint QgsMeshVertex
xyz coords of vertex
Class for handling properties relating to a mesh data provider's temporal capabilities.
QgsMeshDatasetValue represents single dataset value.
Mesh - vertices, edges and faces.
TemporalUnit
Temporal units.
A rectangle specified with double values.
QgsMesh3dDataBlock is a block of 3d stacked mesh data related N faces defined on base mesh frame.
Interface for mesh data sources.
ElementType
Defines type of mesh elements.
QgsMeshDatasetIndex is index that identifies the dataset group (e.g. wind speed) and a dataset in thi...
Base class for providing data for QgsMeshLayer.
MatchingTemporalDatasetMethod
Method for selection of temporal mesh dataset from a range time.
Interface for mesh datasets and dataset groups.
QVector< int > QgsMeshFace
List of vertex indexes.
virtual int maximumVerticesCountPerFace() const
Returns the maximum number of vertices per face supported by the current mesh, if returns 0,...
virtual QgsDataProviderTemporalCapabilities * temporalCapabilities()
Returns the provider's temporal capabilities.
QPair< int, int > QgsMeshEdge
Edge is a straight line seqment between 2 points.
QgsMeshDataBlock is a block of integers/doubles that can be used to retrieve: active flags (e....
std::unique_ptr< QgsMeshDataProviderTemporalCapabilities > mTemporalCapabilities