LVROptimizationPlanarOptimizationDialog.hpp
Go to the documentation of this file.
1 
28 #ifndef OPTIMIZATIONPLANAROPTIMIZATIONDIALOG_H_
29 #define OPTIMIZATIONPLANAROPTIMIZATIONDIALOG_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 
38 #include "ui_LVROptimizationPlanarOptimizationDialogUI.h"
39 #include "LVRMeshItem.hpp"
40 #include "LVRModelItem.hpp"
41 
42 using Ui::PlanarOptimizationDialog;
43 
44 namespace lvr2
45 {
46 
47 class LVRPlanarOptimizationDialog : public QObject
48 {
49  Q_OBJECT
50 
51 public:
52  LVRPlanarOptimizationDialog(LVRMeshItem* mesh, LVRModelItem* parent, QTreeWidget* treeWidget, vtkRenderWindow* renderer);
54 
55 public Q_SLOTS:
56  void optimizeMesh();
57  void toggleSmallRegionRemoval(int state);
58  void toggleRetesselation(int state);
59 
60 private:
62 
63  PlanarOptimizationDialog* m_dialog;
67  QTreeWidget* m_treeWidget;
68  vtkRenderWindow* m_renderWindow;
69 
70 };
71 
72 } // namespace lvr2
73 
74 #endif /* OPTIMIZATIONPLANAROPTIMIZATIONDIALOG_H_ */
lvr2::LVRPlanarOptimizationDialog::connectSignalsAndSlots
void connectSignalsAndSlots()
Definition: LVROptimizationPlanarOptimizationDialog.cpp:67
lvr2::LVRPlanarOptimizationDialog::m_renderWindow
vtkRenderWindow * m_renderWindow
Definition: LVROptimizationPlanarOptimizationDialog.hpp:68
lvr2::LVRPlanarOptimizationDialog::toggleRetesselation
void toggleRetesselation(int state)
Definition: LVROptimizationPlanarOptimizationDialog.cpp:87
lvr2::LVRPlanarOptimizationDialog::m_optimizedModel
LVRModelItem * m_optimizedModel
Definition: LVROptimizationPlanarOptimizationDialog.hpp:65
lvr2::LVRMeshItem
Definition: LVRMeshItem.hpp:45
LVRModelItem.hpp
lvr2::LVRPlanarOptimizationDialog::m_mesh
LVRMeshItem * m_mesh
Definition: LVROptimizationPlanarOptimizationDialog.hpp:64
LVRMeshItem.hpp
lvr2::LVRPlanarOptimizationDialog::LVRPlanarOptimizationDialog
LVRPlanarOptimizationDialog(LVRMeshItem *mesh, LVRModelItem *parent, QTreeWidget *treeWidget, vtkRenderWindow *renderer)
Definition: LVROptimizationPlanarOptimizationDialog.cpp:47
lvr2::LVRPlanarOptimizationDialog::m_treeWidget
QTreeWidget * m_treeWidget
Definition: LVROptimizationPlanarOptimizationDialog.hpp:67
lvr2::LVRPlanarOptimizationDialog::m_dialog
PlanarOptimizationDialog * m_dialog
Definition: LVROptimizationPlanarOptimizationDialog.hpp:63
lvr2::LVRPlanarOptimizationDialog::~LVRPlanarOptimizationDialog
virtual ~LVRPlanarOptimizationDialog()
Definition: LVROptimizationPlanarOptimizationDialog.cpp:62
lvr2::LVRModelItem
Definition: LVRModelItem.hpp:47
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::LVRPlanarOptimizationDialog::optimizeMesh
void optimizeMesh()
Definition: LVROptimizationPlanarOptimizationDialog.cpp:103
lvr2::LVRPlanarOptimizationDialog
Definition: LVROptimizationPlanarOptimizationDialog.hpp:47
mesh
HalfEdgeMesh< Vec > mesh
Definition: src/tools/lvr2_gs_reconstruction/Main.cpp:26
lvr2::LVRPlanarOptimizationDialog::m_parent
LVRModelItem * m_parent
Definition: LVROptimizationPlanarOptimizationDialog.hpp:66
lvr2::LVRPlanarOptimizationDialog::toggleSmallRegionRemoval
void toggleSmallRegionRemoval(int state)
Definition: LVROptimizationPlanarOptimizationDialog.cpp:74


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