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_ */
LVRPlanarOptimizationDialog(LVRMeshItem *mesh, LVRModelItem *parent, QTreeWidget *treeWidget, vtkRenderWindow *renderer)
HalfEdgeMesh< Vec > mesh


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