ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
AutomaticReconstructionWidget.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <QtWidgets>
11 
13 #include "ui/options_widget.h"
14 
15 namespace cloudViewer {
16 class ReconstructionWidget;
17 class ThreadControlWidget;
18 
19 class AutomaticReconstructionWidget : public colmap::OptionsWidget {
20 public:
22 
23  void Run();
24 
25 protected:
26  void showEvent(QShowEvent* event) override;
27 
28 private:
29  void RenderResult();
30 
31  ReconstructionWidget* main_window_;
33  ThreadControlWidget* thread_control_widget_;
34  QComboBox* data_type_cb_;
35  QComboBox* quality_cb_;
36  QComboBox* mesher_cb_;
37  QAction* render_result_;
38 
39  std::vector<std::string> meshing_paths_;
40  std::vector<std::string> textured_paths_;
41  std::vector<std::vector<colmap::PlyPoint>> fused_points_;
42  bool texturing_success_ = false;
43 };
44 
45 } // namespace cloudViewer
MouseEvent event
AutomaticReconstructionWidget(ReconstructionWidget *main_window)
Generic file read and write utility for python interface.