|
virtual | ~QgsMeshDatasetSourceInterface ()=default |
| Dtor. More...
|
|
virtual bool | addDataset (const QString &uri)=0 |
| Associate dataset with the mesh. More...
|
|
virtual QgsMeshDataBlock | areFacesActive (QgsMeshDatasetIndex index, int faceIndex, int count) const =0 |
| Returns whether the faces are active for particular dataset. More...
|
|
virtual int | datasetCount (int groupIndex) const =0 |
| Returns number of datasets loaded in the group. More...
|
|
int | datasetCount (QgsMeshDatasetIndex index) const |
| Returns number of datasets loaded in the group. More...
|
|
virtual int | datasetGroupCount () const =0 |
| Returns number of datasets groups loaded. More...
|
|
virtual QgsMeshDatasetGroupMetadata | datasetGroupMetadata (int groupIndex) const =0 |
| Returns dataset group metadata. More...
|
|
QgsMeshDatasetGroupMetadata | datasetGroupMetadata (QgsMeshDatasetIndex index) const |
| Returns dataset group metadata. More...
|
|
virtual QgsMeshDatasetMetadata | datasetMetadata (QgsMeshDatasetIndex index) const =0 |
| Returns dataset metadata. More...
|
|
virtual QgsMeshDatasetValue | datasetValue (QgsMeshDatasetIndex index, int valueIndex) const =0 |
| Returns vector/scalar value associated with the index from the dataset To read multiple continuous values, use QgsMeshDatasetSourceInterface::datasetValues() More...
|
|
virtual QgsMeshDataBlock | datasetValues (QgsMeshDatasetIndex index, int valueIndex, int count) const =0 |
| Returns N vector/scalar values from the index from the dataset. More...
|
|
virtual QStringList | extraDatasets () const =0 |
| Returns list of additional dataset file URIs added using addDataset() calls. More...
|
|
virtual bool | isFaceActive (QgsMeshDatasetIndex index, int faceIndex) const =0 |
| Returns whether the face is active for particular dataset. More...
|
|
virtual bool | persistDatasetGroup (const QString &path, const QgsMeshDatasetGroupMetadata &meta, const QVector< QgsMeshDataBlock > &datasetValues, const QVector< QgsMeshDataBlock > &datasetActive, const QVector< double > ×)=0 |
| Creates a new dataset group from a data and persists it into a destination path. More...
|
|
Interface for mesh datasets and dataset groups.
Dataset is a collection of vector or scalar values on vertices or faces of the mesh. Based on the underlying data provider/format, whole dataset is either stored in memory or read on demand
Datasets are grouped in the dataset groups. A dataset group represents a measured quantity (e.g. depth or wind speed), dataset represents values of the quantity in a particular time.
- Note
- The API is considered EXPERIMENTAL and can be changed without a notice
- Since
- QGIS 3.2
Definition at line 428 of file qgsmeshdataprovider.h.