18#ifndef QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
19#define QGSMESHDATAPROVIDERTEMPORALCAPABILITIES_H
26#define INVALID_MESHLAYER_TIME -99999
45 FindClosestDatasetFromStartRangeTime
60 QgsMeshDatasetIndex datasetIndexClosestBeforeRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
69 QgsMeshDatasetIndex datasetIndexClosestFromRelativeTime(
int group, qint64 timeSinceGlobalReference )
const;
76 void addGroupReferenceDateTime(
int group,
const QDateTime &reference )
SIP_SKIP;
84 void addDatasetTimeInMilliseconds(
int group, qint64 time )
SIP_SKIP;
92 void addDatasetTime(
int group,
double time )
SIP_SKIP;
97 bool hasReferenceTime()
const;
102 QDateTime referenceTime()
const;
108 QgsDateTimeRange timeExtent()
const;
114 QgsDateTimeRange timeExtent(
const QDateTime &reference )
const;
143 qint64 firstTimeStepDuration(
int group )
const;
148 QDateTime mGlobalReferenceDateTime;
151 QHash<int, QDateTime> mGroupsReferenceDateTime;
159 QHash<int, QList<qint64>> mDatasetTimeSinceGroupReference;
TemporalUnit
Temporal units.
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.