LVRReconstructionEstimateNormalsDialog.hpp
Go to the documentation of this file.
1 
28 #ifndef RECONSTRUCTIONESTIMATENORMALSDIALOG_H_
29 #define RECONSTRUCTIONESTIMATENORMALSDIALOG_H_
30 
31 #include <vtkRenderWindow.h>
32 #include <vtkRenderer.h>
33 #include <vtkRendererCollection.h>
34 #include <vtkSmartPointer.h>
35 
36 #include "ui_LVRReconstructionEstimateNormalsDialogUI.h"
37 #include "LVRPointCloudItem.hpp"
38 #include "LVRModelItem.hpp"
39 #include "LVRScanDataItem.hpp"
40 
41 using Ui::EstimateNormalsDialog;
42 
43 namespace lvr2
44 {
45 
46 class LVREstimateNormalsDialog : public QObject
47 {
48  Q_OBJECT
49 
50 public:
51  // old
52  LVREstimateNormalsDialog(LVRPointCloudItem* pc_item, QTreeWidgetItem* parent, QTreeWidget* treeWidget, vtkRenderWindow* renderer);
53 
54  // new
56  QList<LVRPointCloudItem*> pc_items,
57  QList<QTreeWidgetItem*> parents,
58  QTreeWidget* treeWidget,
59  vtkRenderWindow* renderer
60  );
61 
62  virtual ~LVREstimateNormalsDialog();
63 
64 private Q_SLOTS:
65  void estimateNormals();
66  void toggleAutoNormalEstimation(int state);
67  void toggleAutoNormalInterpolation(int state);
68  void toggleSpecialOptions(QString current_text);
69 
70 
71 private:
73 
74  EstimateNormalsDialog* m_dialog;
75 
76  // new
77  QList<LVRPointCloudItem*> m_pcs;
78  // QList<LVRPointCloudItem*> m_pcs_with_normals;
79  QList<QTreeWidgetItem*> m_parents;
80 
81  // old
84  QTreeWidgetItem* m_parent;
85  QTreeWidget* m_treeWidget;
86  vtkRenderWindow* m_renderWindow;
87 };
88 
89 } // namespace lvr2
90 
91 #endif /* RECONSTRUCTIONESTIMATENORMALSDIALOG_H_ */
lvr2::LVREstimateNormalsDialog
Definition: LVRReconstructionEstimateNormalsDialog.hpp:46
lvr2::LVREstimateNormalsDialog::m_pcs
QList< LVRPointCloudItem * > m_pcs
Definition: LVRReconstructionEstimateNormalsDialog.hpp:77
lvr2::LVREstimateNormalsDialog::m_parent
QTreeWidgetItem * m_parent
Definition: LVRReconstructionEstimateNormalsDialog.hpp:84
lvr2::LVREstimateNormalsDialog::m_dialog
EstimateNormalsDialog * m_dialog
Definition: LVRReconstructionEstimateNormalsDialog.hpp:74
lvr2::LVREstimateNormalsDialog::m_pc
LVRPointCloudItem * m_pc
Definition: LVRReconstructionEstimateNormalsDialog.hpp:82
lvr2::LVRPointCloudItem
Definition: LVRPointCloudItem.hpp:45
LVRModelItem.hpp
lvr2::LVREstimateNormalsDialog::~LVREstimateNormalsDialog
virtual ~LVREstimateNormalsDialog()
Definition: LVRReconstructionEstimateNormalsDialog.cpp:103
lvr2::LVREstimateNormalsDialog::toggleAutoNormalEstimation
void toggleAutoNormalEstimation(int state)
Definition: LVRReconstructionEstimateNormalsDialog.cpp:116
lvr2::LVREstimateNormalsDialog::m_parents
QList< QTreeWidgetItem * > m_parents
Definition: LVRReconstructionEstimateNormalsDialog.hpp:79
lvr2::LVREstimateNormalsDialog::connectSignalsAndSlots
void connectSignalsAndSlots()
Definition: LVRReconstructionEstimateNormalsDialog.cpp:108
lvr2::LVREstimateNormalsDialog::toggleSpecialOptions
void toggleSpecialOptions(QString current_text)
Definition: LVRReconstructionEstimateNormalsDialog.cpp:142
lvr2::LVREstimateNormalsDialog::toggleAutoNormalInterpolation
void toggleAutoNormalInterpolation(int state)
Definition: LVRReconstructionEstimateNormalsDialog.cpp:129
lvr2::LVREstimateNormalsDialog::LVREstimateNormalsDialog
LVREstimateNormalsDialog(LVRPointCloudItem *pc_item, QTreeWidgetItem *parent, QTreeWidget *treeWidget, vtkRenderWindow *renderer)
Definition: LVRReconstructionEstimateNormalsDialog.cpp:56
LVRScanDataItem.hpp
lvr2::LVREstimateNormalsDialog::m_treeWidget
QTreeWidget * m_treeWidget
Definition: LVRReconstructionEstimateNormalsDialog.hpp:85
lvr2::LVRModelItem
Definition: LVRModelItem.hpp:47
lvr2
Definition: BaseBufferManipulators.hpp:39
LVRPointCloudItem.hpp
lvr2::LVREstimateNormalsDialog::m_renderWindow
vtkRenderWindow * m_renderWindow
Definition: LVRReconstructionEstimateNormalsDialog.hpp:86
lvr2::LVREstimateNormalsDialog::m_pointCloudWithNormals
LVRModelItem * m_pointCloudWithNormals
Definition: LVRReconstructionEstimateNormalsDialog.hpp:83
lvr2::LVREstimateNormalsDialog::estimateNormals
void estimateNormals()
Definition: LVRReconstructionEstimateNormalsDialog.cpp:160


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