This repository was archived by the owner on Jul 22, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathwinslam.h
More file actions
63 lines (50 loc) · 1.26 KB
/
winslam.h
File metadata and controls
63 lines (50 loc) · 1.26 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
55
56
57
58
59
60
61
62
63
#ifndef WINSLAM_H
#define WINSLAM_H
#include <QWidget>
#include "Eigen/Dense"
#include "mainwindow.h"
#include "tetrahedron.h"
#include <QSlider>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QPushButton>
#include <QDesktopWidget>
#include <QApplication>
#include <QMessageBox>
#include <iostream>
class QSlider;
class QPushButton;
class Tetrahedron;
class MainWindow;
class Winslam : public QWidget
{
Q_OBJECT
public:
Winslam(MainWindow *mw);
void setDataView(Eigen::MatrixXd dataModel);
void setContaminatedDataView(Eigen::MatrixXd dataModelContaminated);
void setEstimatedDataView(Eigen::MatrixXd dataModelEstimated);
void setScala(double X, double Y, double Z);
void setTrasla(double X, double Y, double Z);
void setDots();
void setLines();
void setViewJustEstimated();
protected:
void keyPressEvent(QKeyEvent *event) override;
private slots:
private:
QSlider *createSlider();
Tetrahedron *tetrahedron;
MainWindow *mainWindow;
double arx[15000]= {0.0};
double ary[15000]= {0.0};
double arz[15000]= {0.0};
double scalaX = 0.0;
double scalaY = 0.0;
double scalaZ = 0.0;
double traslaX = 0.0;
double traslaY = 0.0;
double traslaZ = 0.0;
};
#endif // WINSLAM_H