QGIS API Documentation
3.6.0-Noosa (5873452)
|
QgsMeshDatasetMetadata is a collection of mesh dataset metadata such as whether the data is valid or associated time for the dataset. More...
#include <qgsmeshdataprovider.h>
Public Member Functions | |
QgsMeshDatasetMetadata ()=default | |
Constructs an empty metadata object. More... | |
QgsMeshDatasetMetadata (double time, bool isValid, double minimum, double maximum) | |
Constructs a valid metadata object. More... | |
bool | isValid () const |
Returns whether dataset is valid. More... | |
double | maximum () const |
Returns maximum scalar value/vector magnitude present for the dataset. More... | |
double | minimum () const |
Returns minimum scalar value/vector magnitude present for the dataset. More... | |
double | time () const |
Returns the time value for this dataset. More... | |
QgsMeshDatasetMetadata is a collection of mesh dataset metadata such as whether the data is valid or associated time for the dataset.
Definition at line 325 of file qgsmeshdataprovider.h.
|
default |
Constructs an empty metadata object.
QgsMeshDatasetMetadata::QgsMeshDatasetMetadata | ( | double | time, |
bool | isValid, | ||
double | minimum, | ||
double | maximum | ||
) |
Constructs a valid metadata object.
time | a time which this dataset represents in the dataset group |
isValid | dataset is loadad and valid for fetching the data |
minimum | minimum value (magnitude for vectors) present among dataset values |
maximum | maximum value (magnitude for vectors) present among dataset values |
Definition at line 190 of file qgsmeshdataprovider.cpp.
bool QgsMeshDatasetMetadata::isValid | ( | ) | const |
Returns whether dataset is valid.
Definition at line 206 of file qgsmeshdataprovider.cpp.
double QgsMeshDatasetMetadata::maximum | ( | ) | const |
Returns maximum scalar value/vector magnitude present for the dataset.
Definition at line 216 of file qgsmeshdataprovider.cpp.
double QgsMeshDatasetMetadata::minimum | ( | ) | const |
Returns minimum scalar value/vector magnitude present for the dataset.
Definition at line 211 of file qgsmeshdataprovider.cpp.
double QgsMeshDatasetMetadata::time | ( | ) | const |
Returns the time value for this dataset.
Definition at line 201 of file qgsmeshdataprovider.cpp.