ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
bundle_adjustment.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 "base/reconstruction.h"
11 #include "util/option_manager.h"
12 #include "util/threading.h"
13 
14 namespace colmap {
15 
16 // Class that controls the global bundle adjustment procedure.
18 public:
20  Reconstruction* reconstruction);
21 
22 private:
23  void Run();
24 
25  const OptionManager options_;
26  Reconstruction* reconstruction_;
27 };
28 
29 } // namespace colmap
BundleAdjustmentController(const OptionManager &options, Reconstruction *reconstruction)