ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
reconstruction_manager_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 <QtWidgets>
11 
13 
14 namespace colmap {
15 
16 class ReconstructionManagerWidget : public QComboBox {
17 public:
18  const static size_t kNewestReconstructionIdx;
19 
21  QWidget* parent,
22  const ReconstructionManager* reconstruction_manager);
23 
24  void Update();
25 
26  size_t SelectedReconstructionIdx() const;
27  void SelectReconstruction(const size_t idx);
28 
29 private:
30  const ReconstructionManager* reconstruction_manager_;
31 };
32 
33 } // namespace colmap
ReconstructionManagerWidget(QWidget *parent, const ReconstructionManager *reconstruction_manager)