-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheatmapwindow.h
More file actions
54 lines (36 loc) · 1.09 KB
/
heatmapwindow.h
File metadata and controls
54 lines (36 loc) · 1.09 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef HEATMAPWINDOW_H
#define HEATMAPWINDOW_H
#include "computation.h"
#include "ui_heatmapwindow.h"
#include <QDialog>
#include <Eigen/Dense>
#include <Eigen/Eigen>
namespace Ui {
class HeatMapWindow;
}
class HeatMapWindow : public QDialog
{
Q_OBJECT
public:
explicit HeatMapWindow(QWidget *parent = nullptr);
~HeatMapWindow();
// void makeHeatMap();
void makeHeatMap(const Eigen::MatrixXd m);
void setX(const QVector<double>& givenX) {xCoordinates = givenX;};
void setY(const QVector<double>& givenY) {yCoordinates = givenY;};
void setP(const QVector<double>& givenP) {pValues = givenP;};
void setObject(const computation givenObject) {object = givenObject;};
void setLabel(std::string text){ui->label->setText(QString::fromStdString(text));};
private slots:
void on_SaveHeatmapButton_clicked();
void on_MenuButton_clicked();
signals:
void PreviousWindow();
protected:
Ui::HeatMapWindow *ui;
QVector<double> xCoordinates;
QVector<double> yCoordinates;
QVector<double> pValues;
computation object;
};
#endif // HEATMAPWINDOW_H