QGIS API Documentation
3.2.0-Bonn (bc43194)
|
Interface for mesh datasets. More...
#include <qgsmeshdataprovider.h>
Public Member Functions | |
virtual | ~QgsMeshDatasetSourceInterface ()=default |
Dtor. More... | |
virtual bool | addDataset (const QString &uri)=0 |
Associate dataset with the mesh. More... | |
virtual int | datasetCount () const =0 |
Returns number of datasets loaded. More... | |
virtual QgsMeshDatasetMetadata | datasetMetadata (int datasetIndex) const =0 |
Returns dataset metadata. More... | |
virtual QgsMeshDatasetValue | datasetValue (int datasetIndex, int valueIndex) const =0 |
Returns vector/scalar value associated with the index from the dataset. More... | |
Interface for mesh datasets.
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
Definition at line 210 of file qgsmeshdataprovider.h.
|
virtualdefault |
Dtor.
|
pure virtual |
Associate dataset with the mesh.
|
pure virtual |
Returns number of datasets loaded.
|
pure virtual |
Returns dataset metadata.
|
pure virtual |
Returns vector/scalar value associated with the index from the dataset.
See QgsMeshDatasetMetadata::isVector() to check if the returned value is vector or scalar