18 #ifndef QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
19 #define QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
25 #define INVALID_MESHLAYER_TIME -99999
44 FindClosestDatasetFromStartRangeTime
59 QgsMeshDatasetIndex datasetIndexClosestBeforeRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
68 QgsMeshDatasetIndex datasetIndexClosestFromRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
75 void addGroupReferenceDateTime(
int group,
const QDateTime &reference )
SIP_SKIP;
83 void addDatasetTimeInMilliseconds(
int group, qint64 time )
SIP_SKIP;
91 void addDatasetTime(
int group,
double time )
SIP_SKIP;
96 bool hasReferenceTime()
const;
101 QDateTime referenceTime()
const;
107 QgsDateTimeRange timeExtent()
const;
113 QgsDateTimeRange timeExtent(
const QDateTime &reference )
const;
142 qint64 firstTimeStepDuration(
int group )
const;
147 QDateTime mGlobalReferenceDateTime;
150 QHash<int, QDateTime> mGroupsReferenceDateTime;
158 QHash<int, QList<qint64>> mDatasetTimeSinceGroupReference;
Base class for handling properties relating to a data provider's temporal capabilities.
Class for handling properties relating to a mesh data provider's temporal capabilities.
MatchingTemporalDatasetMethod
Method for selection of temporal mesh dataset from a range time.
@ FindClosestDatasetBeforeStartRangeTime
QgsMeshDatasetIndex is index that identifies the dataset group (e.g.
TemporalUnit
Temporal units.