ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
BundleAdjustmentWidget.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"
15 #include "util/option_manager.h"
16 
17 namespace cloudViewer {
18 
22 
23 class BundleAdjustmentWidget : public colmap::OptionsWidget {
24 public:
26  OptionManager* options);
27 
28  void Show(colmap::Reconstruction* reconstruction);
29 
30 private:
31  void Run();
32  void Render();
33 
34  ReconstructionWidget* main_window_;
35  OptionManager* options_;
36  colmap::Reconstruction* reconstruction_;
37  ThreadControlWidget* thread_control_widget_;
38  QAction* render_action_;
39 };
40 
41 } // namespace cloudViewer
void Show(colmap::Reconstruction *reconstruction)
BundleAdjustmentWidget(ReconstructionWidget *main_window, OptionManager *options)
Generic file read and write utility for python interface.
colmap::OptionManager OptionManager