src
tools
lvr2_viewer
widgets
LVRCorrespondanceDialog.hpp
Go to the documentation of this file.
1
34
#ifndef LVRCORRESPONDANCEDIALOG_HPP_
35
#define LVRCORRESPONDANCEDIALOG_HPP_
36
37
#include "ui_LVRRegistrationPickCorrespondancesDialogUI.h"
38
#include "../vtkBridge/LVRVtkArrow.hpp"
39
40
#include "
lvr2/types/MatrixTypes.hpp
"
41
#include "
lvr2/registration/EigenSVDPointAlign.hpp
"
42
43
#include <iostream>
44
using namespace
std
;
45
46
#include <boost/optional.hpp>
47
#include <Eigen/Dense>
48
49
namespace
lvr2
50
{
51
52
class
LVRCorrespondanceDialog
:
public
QObject
53
{
54
Q_OBJECT
55
public
:
56
57
LVRCorrespondanceDialog
(QTreeWidget* parent);
58
virtual
~
LVRCorrespondanceDialog
();
59
void
fillComboBoxes();
60
boost::optional<Transformf>
getTransformation
();
61
QString getModelName();
62
QString getDataName();
63
64
bool
doICP();
65
double
getEpsilon();
66
double
getMaxDistance();
67
int
getMaxIterations();
68
69
public
Q_SLOTS:
70
void
updateModelSelection(
int
);
71
void
updateDataSelection(
int
);
72
void
firstPointPicked(
double
*);
73
void
secondPointPicked(
double
*);
74
void
insertNewItem();
75
void
deleteItem();
76
void
swapItemPositions();
77
void
saveCorrespondences();
78
void
loadCorrespondences();
79
void
treeItemSelected(QTreeWidgetItem*, QTreeWidgetItem*);
80
void
clearAllItems();
81
82
83
Q_SIGNALS:
84
void
render
();
85
void
removeArrow(
LVRVtkArrow
*);
86
void
addArrow(
LVRVtkArrow
*);
87
void
disableCorrespondenceSearch();
88
void
enableCorrespondenceSearch();
89
90
public
:
91
Ui_CorrespondenceDialog*
m_ui
;
92
QDialog*
m_dialog
;
93
94
private
:
95
QTreeWidget*
m_treeWidget
;
96
QColor
m_dataSelectionColor
;
97
QColor
m_modelSelectionColor
;
98
QColor
m_defaultColor
;
99
QString
m_dataSelection
;
100
QString
m_modelSelection
;
101
};
102
103
}
/* namespace lvr2 */
104
105
#endif
/* LVRCORRESPONDANCEDIALOG_HPP_ */
lvr2::LVRCorrespondanceDialog::m_dataSelection
QString m_dataSelection
Definition:
LVRCorrespondanceDialog.hpp:99
lvr2::LVRCorrespondanceDialog::m_treeWidget
QTreeWidget * m_treeWidget
Definition:
LVRCorrespondanceDialog.hpp:95
render
void render()
lvr2::LVRCorrespondanceDialog::m_defaultColor
QColor m_defaultColor
Definition:
LVRCorrespondanceDialog.hpp:98
lvr2::LVRVtkArrow
A wrapper class to generate arrow actors for vtk based on VTK's oriented arrow example.
Definition:
LVRVtkArrow.hpp:49
lvr2::LVRCorrespondanceDialog::m_modelSelection
QString m_modelSelection
Definition:
LVRCorrespondanceDialog.hpp:100
MatrixTypes.hpp
lvr2::LVRCorrespondanceDialog::m_ui
Ui_CorrespondenceDialog * m_ui
Definition:
LVRCorrespondanceDialog.hpp:91
lvr2::LVRCorrespondanceDialog::m_dialog
QDialog * m_dialog
Definition:
LVRCorrespondanceDialog.hpp:92
EigenSVDPointAlign.hpp
lvr2::LVRCorrespondanceDialog::m_dataSelectionColor
QColor m_dataSelectionColor
Definition:
LVRCorrespondanceDialog.hpp:96
std
Definition:
HalfEdge.hpp:124
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::qttf::getTransformation
Transformd getTransformation(QTreeWidgetItem *from, QTreeWidgetItem *to)
Definition:
qttf.cpp:9
lvr2::LVRCorrespondanceDialog::m_modelSelectionColor
QColor m_modelSelectionColor
Definition:
LVRCorrespondanceDialog.hpp:97
lvr2::LVRCorrespondanceDialog
Definition:
LVRCorrespondanceDialog.hpp:52
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24