-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSLTrackerDialog.h
More file actions
45 lines (37 loc) · 1 KB
/
Copy pathSLTrackerDialog.h
File metadata and controls
45 lines (37 loc) · 1 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
/*
*
SLStudio - Platform for Real-Time Structured Light
(c) 2013 -- 2014 Jakob Wilm, DTU, Kgs.Lyngby, Denmark
*
*/
#ifndef SLTRACKERDIALOG_H
#define SLTRACKERDIALOG_H
#include <QDialog>
#include <QThread>
#include "SLTrackerWorker.h"
namespace Ui {
class SLTrackerDialog;
}
class SLTrackerDialog : public QDialog {
Q_OBJECT
public:
explicit SLTrackerDialog(QWidget *parent = 0);
QAction* toggleViewAction();
void showEvent(QShowEvent *);
void closeEvent(QCloseEvent *);
~SLTrackerDialog();
public slots:
void receiveNewPointCloud(PointCloudConstPtr pointCloud);
void showPoseEstimate(Eigen::Affine3f T);
private slots:
void on_startStopPushButton_clicked();
signals:
void newPointCloud(PointCloudConstPtr pointCloud);
private:
Ui::SLTrackerDialog *ui;
QThread *trackerWorkerThread;
SLTrackerWorker *trackerWorker;
bool tracking;
QAction *action;
};
#endif // SLTRACKERDIALOG_H