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