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 
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;
99  QString m_dataSelection;
101 };
102 
103 } /* namespace lvr2 */
104 
105 #endif /* LVRCORRESPONDANCEDIALOG_HPP_ */
void render()
Transformd getTransformation(QTreeWidgetItem *from, QTreeWidgetItem *to)
Definition: qttf.cpp:9
A wrapper class to generate arrow actors for vtk based on VTK&#39;s oriented arrow example.
Definition: LVRVtkArrow.hpp:49


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 Mon Feb 28 2022 22:46:08