-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgraph.h
41 lines (38 loc) · 956 Bytes
/
graph.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef GRAPHS_H
#define GRAPHS_H
#include <QString>
#include <QVector>
class Graph
{
// check .cpp file for more info
public:
QString getPath();
void setPath(QString);
void setFileName(QString);
QString getFileName();
void setXAxisVectorPoint(double);
void setYAxisVectorPoint(double);
QVector<double> getXAxisVector();
QVector<double> getYAxisVector();
void setXMin(float);
void setXMax(float);
void setYMin(float);
void setYMax(float);
float getXMin();
float getXMax();
float getYMin();
float getYMax();
std::string getTime();
void setTime(std::string);
private:
QString file_name;
QString path;
QVector<double> x;
QVector<double> y;
float xmin;
float xmax;
float ymin;
float ymax;
std::string time;
};
#endif // GRAPHS_H