ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
bundle_adjustment_widget.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 <QtCore>
11 #include <QtWidgets>
12 
13 #include "base/reconstruction.h"
14 #include "ui/options_widget.h"
16 #include "util/option_manager.h"
17 
18 namespace colmap {
19 
20 class MainWindow;
21 
23 public:
24  BundleAdjustmentWidget(MainWindow* main_window, OptionManager* options);
25 
26  void Show(Reconstruction* reconstruction);
27 
28 private:
29  void Run();
30  void Render();
31 
32  MainWindow* main_window_;
33  OptionManager* options_;
34  Reconstruction* reconstruction_;
35  ThreadControlWidget* thread_control_widget_;
36  QAction* render_action_;
37 };
38 
39 } // namespace colmap
BundleAdjustmentWidget(MainWindow *main_window, OptionManager *options)
void Show(Reconstruction *reconstruction)