forked from BITS-DIC/BITS-DIC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
40 lines (33 loc) · 908 Bytes
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#define WINDOW_TITLE "BITS-DIC"
#include <QMainWindow>
#include <QtWidgets/QLabel>
#include "dic.h"
#include "setroi.h"
#include <opencv2/opencv.hpp>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_actionLoad_Reference_Image_triggered();
void on_actionLoad_Current_Image_s_triggered();
void on_prevImage_clicked();
void on_nextImage_clicked();
void on_actionSet_Region_of_Interest_ROI_triggered();
void on_actionPerform_DIC_Analysis_triggered();
void onRoiSet(cv::Mat);
private:
Ui::MainWindow *ui;
Dic *dic;
SetROI *setRoiDialog;
int currImgIndex;
void setCurrentImageIndex(int);
};
#endif // MAINWINDOW_H