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_ */
lvr2::LVRReconstructViaMarchingCubesDialog::m_parent
QTreeWidgetItem * m_parent
Definition: LVRReconstructionMarchingCubesDialog.hpp:99
lvr2::LVRReconstructViaMarchingCubesDialog::setProgressTitle
void setProgressTitle(string)
Definition: LVRReconstructionMarchingCubesDialog.cpp:70
lvr2::LVRReconstructViaMarchingCubesDialog::LVRReconstructViaMarchingCubesDialog
LVRReconstructViaMarchingCubesDialog(string decomposition, LVRPointCloudItem *pc, QTreeWidgetItem *parent, QTreeWidget *treeWidget, vtkRenderWindow *renderer)
Definition: LVRReconstructionMarchingCubesDialog.cpp:76
lvr2::LVRReconstructViaMarchingCubesDialog::generateMesh
void generateMesh()
Definition: LVRReconstructionMarchingCubesDialog.cpp:171
lvr2::LVRReconstructViaMarchingCubesDialog::switchGridSizeDetermination
void switchGridSizeDetermination(int index)
Definition: LVRReconstructionMarchingCubesDialog.cpp:145
lvr2::LVRReconstructViaMarchingCubesDialog::m_pc
LVRPointCloudItem * m_pc
Definition: LVRReconstructionMarchingCubesDialog.hpp:98
p
SharedPointer p
Definition: ConvertShared.hpp:42
lvr2::LVRReconstructViaMarchingCubesDialog
Definition: LVRReconstructionMarchingCubesDialog.hpp:53
lvr2::LVRPointCloudItem
Definition: LVRPointCloudItem.hpp:45
LVRModelItem.hpp
lvr2::LVRReconstructViaMarchingCubesDialog::setProgressValue
void setProgressValue(int v)
Definition: LVRReconstructionMarchingCubesDialog.cpp:64
lvr2::LVRReconstructViaMarchingCubesDialog::~LVRReconstructViaMarchingCubesDialog
virtual ~LVRReconstructViaMarchingCubesDialog()
Definition: LVRReconstructionMarchingCubesDialog.cpp:117
lvr2::LVRReconstructViaMarchingCubesDialog::updateProgressbar
static void updateProgressbar(int p)
Definition: LVRReconstructionMarchingCubesDialog.cpp:53
lvr2::LVRReconstructViaMarchingCubesDialog::progressValueChanged
void progressValueChanged(int)
lvr2::LVRReconstructViaMarchingCubesDialog::updateProgressbarTitle
static void updateProgressbarTitle(string t)
Definition: LVRReconstructionMarchingCubesDialog.cpp:58
lvr2::LVRReconstructViaMarchingCubesDialog::toggleRANSACcheckBox
void toggleRANSACcheckBox(const QString &text)
Definition: LVRReconstructionMarchingCubesDialog.cpp:131
lvr2::LVRReconstructViaMarchingCubesDialog::m_treeWidget
QTreeWidget * m_treeWidget
Definition: LVRReconstructionMarchingCubesDialog.hpp:100
lvr2::LVRReconstructViaMarchingCubesDialog::m_generatedModel
LVRModelItem * m_generatedModel
Definition: LVRReconstructionMarchingCubesDialog.hpp:101
lvr2::LVRReconstructViaMarchingCubesDialog::m_dialog
ReconstructViaMarchingCubesDialog * m_dialog
Definition: LVRReconstructionMarchingCubesDialog.hpp:97
lvr2::LVRModelItem
Definition: LVRModelItem.hpp:47
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRReconstructViaMarchingCubesDialog::connectSignalsAndSlots
void connectSignalsAndSlots()
Definition: LVRReconstructionMarchingCubesDialog.cpp:124
lvr2::LVRReconstructViaMarchingCubesDialog::m_renderWindow
vtkRenderWindow * m_renderWindow
Definition: LVRReconstructionMarchingCubesDialog.hpp:102
lvr2::LVRReconstructViaMarchingCubesDialog::m_progressDialog
QProgressDialog * m_progressDialog
Definition: LVRReconstructionMarchingCubesDialog.hpp:103
lvr2::LVRReconstructViaMarchingCubesDialog::m_decomposition
string m_decomposition
Definition: LVRReconstructionMarchingCubesDialog.hpp:96
lvr2::LVRReconstructViaMarchingCubesDialog::progressTitleChanged
void progressTitleChanged(const QString &)
LVRPointCloudItem.hpp
lvr2::LVRReconstructViaMarchingCubesDialog::m_master
static LVRReconstructViaMarchingCubesDialog * m_master
Definition: LVRReconstructionMarchingCubesDialog.hpp:104


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