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_ */
LVREstimateNormalsDialog(LVRPointCloudItem *pc_item, QTreeWidgetItem *parent, QTreeWidget *treeWidget, 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