LVRReconstructionMarchingCubesDialog.hpp
Go to the documentation of this file.
1 
28 #ifndef RECONSTRUCTIONMARCHINGCUBESDIALOG_H_
29 #define RECONSTRUCTIONMARCHINGCUBESDIALOG_H_
30 
31 #include <vtkRenderWindow.h>
32 #include <vtkRenderer.h>
33 #include <vtkRendererCollection.h>
34 #include <vtkSmartPointer.h>
35 
36 #include "../vtkBridge/LVRModelBridge.hpp"
37 #include "../util/qttf.hpp"
38 
39 #include "ui_LVRReconstructionMarchingCubesDialogUI.h"
40 #include "LVRPointCloudItem.hpp"
41 #include "LVRModelItem.hpp"
42 
43 #include <QProgressDialog>
44 #include <QTreeWidget>
45 #include <QTreeWidgetItem>
46 
47 
48 using Ui::ReconstructViaMarchingCubesDialog;
49 
50 namespace lvr2
51 {
52 
54 {
55  Q_OBJECT
56 
57 public:
59  string decomposition,
61  QTreeWidgetItem* parent,
62  QTreeWidget* treeWidget,
63  vtkRenderWindow* renderer
64  );
65 
66  // LVRReconstructViaMarchingCubesDialog(
67  // string decomposition,
68  // QList<LVRPointCloudItem*> pcs,
69  // QList<QTreeWidgetItem*> parent,
70  // QTreeWidget* treeWidget,
71  // vtkRenderWindow* renderer
72  // );
73 
75 
76  static void updateProgressbar(int p);
77  static void updateProgressbarTitle(string t);
78 
79 
80  void setProgressValue(int v);
81  void setProgressTitle(string);
82 
83 public Q_SLOTS:
84  void generateMesh();
85  void toggleRANSACcheckBox(const QString &text);
86  void switchGridSizeDetermination(int index);
87 
88 Q_SIGNALS:
89  void progressValueChanged(int);
90  void progressTitleChanged(const QString&);
91 
92 
93 private:
95 
97  ReconstructViaMarchingCubesDialog* m_dialog;
99  QTreeWidgetItem* m_parent;
100  QTreeWidget* m_treeWidget;
102  vtkRenderWindow* m_renderWindow;
103  QProgressDialog* m_progressDialog;
105 
106 
107 };
108 
109 } // namespace lvr2
110 
111 #endif /* RECONSTRUCTIONMARCHINGCUBESDIALOG_H_ */
SharedPointer p
static LVRReconstructViaMarchingCubesDialog * m_master
LVRReconstructViaMarchingCubesDialog(string decomposition, LVRPointCloudItem *pc, 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