LVRTransformationDialog.hpp
Go to the documentation of this file.
1 
35 #ifndef TRANSFORMATIONDIALOG_H_
36 #define TRANSFORMATIONDIALOG_H_
37 
38 #include <vtkRenderWindow.h>
39 
40 #include "ui_LVRTransformationDialogUI.h"
41 #include "LVRModelItem.hpp"
42 
43 using Ui::TransformationDialogUI;
44 
45 namespace lvr2
46 {
47 
48 class LVRTransformationDialog : public QObject
49 {
50  Q_OBJECT
51 
52 public:
53  LVRTransformationDialog(LVRModelItem* parent, vtkRenderWindow* renderer);
54  virtual ~LVRTransformationDialog();
55 
56 public Q_SLOTS:
57 
58  void rotationXSlided(int value);
59  void rotationYSlided(int value);
60  void rotationZSlided(int value);
61 
62  void rotationXEntered(double value);
63  void rotationYEntered(double value);
64  void rotationZEntered(double value);
65 
66  void translationXEntered(double value);
67  void translationYEntered(double value);
68  void translationZEntered(double value);
69 
70  void stepChanged(double value);
71 
72  void reset();
73  void restoreAndClose();
74  void save();
75 
76 
77 private:
78 
80  void transformLocal();
81  void transformGlobal();
82 
85  TransformationDialogUI* m_dialogUI;
87  vtkRenderWindow* m_renderWindow;
88 
89 };
90 
91 } // namespace lvr2
92 
93 #endif /* TRANSFORMATIONDIALOG_H_ */
LVRTransformationDialog(LVRModelItem *parent, vtkRenderWindow *renderer)


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