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_ */
lvr2::LVRTransformationDialog
Definition: LVRTransformationDialog.hpp:48
lvr2::LVRTransformationDialog::m_pose_original
Pose m_pose_original
Definition: LVRTransformationDialog.hpp:84
lvr2::LVRTransformationDialog::rotationXSlided
void rotationXSlided(int value)
Definition: LVRTransformationDialog.cpp:234
lvr2::LVRTransformationDialog::save
void save()
Definition: LVRTransformationDialog.cpp:126
lvr2::LVRTransformationDialog::m_dialogUI
TransformationDialogUI * m_dialogUI
Definition: LVRTransformationDialog.hpp:85
lvr2::LVRTransformationDialog::restoreAndClose
void restoreAndClose()
Definition: LVRTransformationDialog.cpp:135
lvr2::LVRTransformationDialog::translationYEntered
void translationYEntered(double value)
Definition: LVRTransformationDialog.cpp:218
LVRModelItem.hpp
lvr2::LVRTransformationDialog::m_parent
LVRModelItem * m_parent
Definition: LVRTransformationDialog.hpp:86
lvr2::LVRTransformationDialog::LVRTransformationDialog
LVRTransformationDialog(LVRModelItem *parent, vtkRenderWindow *renderer)
Definition: LVRTransformationDialog.cpp:41
lvr2::LVRTransformationDialog::reset
void reset()
Definition: LVRTransformationDialog.cpp:141
lvr2::LVRTransformationDialog::rotationYEntered
void rotationYEntered(double value)
Definition: LVRTransformationDialog.cpp:188
lvr2::LVRTransformationDialog::translationXEntered
void translationXEntered(double value)
Definition: LVRTransformationDialog.cpp:210
lvr2::LVRTransformationDialog::~LVRTransformationDialog
virtual ~LVRTransformationDialog()
Definition: LVRTransformationDialog.cpp:70
lvr2::LVRTransformationDialog::stepChanged
void stepChanged(double value)
Definition: LVRTransformationDialog.cpp:119
lvr2::LVRTransformationDialog::connectSignalsAndSlots
void connectSignalsAndSlots()
Definition: LVRTransformationDialog.cpp:75
lvr2::LVRTransformationDialog::rotationZEntered
void rotationZEntered(double value)
Definition: LVRTransformationDialog.cpp:199
lvr2::LVRTransformationDialog::transformGlobal
void transformGlobal()
Definition: LVRTransformationDialog.cpp:166
lvr2::LVRTransformationDialog::m_renderWindow
vtkRenderWindow * m_renderWindow
Definition: LVRTransformationDialog.hpp:87
lvr2::LVRTransformationDialog::rotationXEntered
void rotationXEntered(double value)
Definition: LVRTransformationDialog.cpp:177
lvr2::LVRTransformationDialog::m_pose
Pose m_pose
Definition: LVRTransformationDialog.hpp:83
lvr2::LVRModelItem
Definition: LVRModelItem.hpp:47
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRTransformationDialog::rotationZSlided
void rotationZSlided(int value)
Definition: LVRTransformationDialog.cpp:255
lvr2::LVRTransformationDialog::translationZEntered
void translationZEntered(double value)
Definition: LVRTransformationDialog.cpp:226
lvr2::Pose
Definition: LVRModelBridge.hpp:51
lvr2::LVRTransformationDialog::rotationYSlided
void rotationYSlided(int value)
Definition: LVRTransformationDialog.cpp:245
lvr2::LVRTransformationDialog::transformLocal
void transformLocal()
Definition: LVRTransformationDialog.cpp:171


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