1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-07-31 10:54:24 +02:00

Added moving time info.

Added special track data processing for "pause states".
This commit is contained in:
2017-01-31 09:37:01 +01:00
parent ddacac8d2e
commit 961eac9324
11 changed files with 380 additions and 245 deletions

View File

@ -24,6 +24,7 @@ public:
qreal distance() const;
qreal time() const;
qreal movingTime() const;
QDateTime date() const;
const QString &name() const {return _data.name();}
@ -32,6 +33,8 @@ public:
bool isNull() const {return (_data.size() < 2);}
private:
bool discardStopPoint(int i) const;
const TrackData &_data;
QVector<qreal> _distance;
@ -39,6 +42,9 @@ private:
QVector<qreal> _speed;
QSet<int> _outliers;
QSet<int> _stop;
qreal _pause;
};
#endif // TRACK_H