mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-10-07 07:13:21 +02:00
20 lines
284 B
C
20 lines
284 B
C
|
#ifndef ELEVATIONGRAPH_H
|
||
|
#define ELEVATIONGRAPH_H
|
||
|
|
||
|
#include "graph.h"
|
||
|
|
||
|
class ElevationGraph : public Graph
|
||
|
{
|
||
|
public:
|
||
|
ElevationGraph();
|
||
|
|
||
|
void loadData(const QVector<QPointF> &data);
|
||
|
void clear();
|
||
|
|
||
|
private:
|
||
|
qreal _ascent, _descent;
|
||
|
qreal _max, _min;
|
||
|
};
|
||
|
|
||
|
#endif // ELEVATIONGRAPH_H
|