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
colmap::Reconstruction::NumPoints3D
size_t NumPoints3D() const
Definition: reconstruction.h:442
QtCompat.h
QTCOMPAT_FONTMETRICS_WIDTH
#define QTCOMPAT_FONTMETRICS_WIDTH(fm, text)
Definition: QtCompat.h:339
colmap::ReconstructionManagerWidget::Update
void Update()
Definition: reconstruction_manager_widget.cc:50
colmap::ReconstructionManager::Get
const Reconstruction & Get(const size_t idx) const
Definition: reconstruction_manager.cc:56
colmap::ReconstructionManagerWidget::ReconstructionManagerWidget
ReconstructionManagerWidget(QWidget *parent, const ReconstructionManager *reconstruction_manager)
Definition: reconstruction_manager_widget.cc:42
colmap::ReconstructionManagerWidget::SelectedReconstructionIdx
size_t SelectedReconstructionIdx() const
Definition: reconstruction_manager_widget.cc:92
reconstruction_manager_widget.h
colmap::Reconstruction::NumRegImages
size_t NumRegImages() const
Definition: reconstruction.h:440
colmap::ReconstructionManager
Definition: reconstruction_manager.h:16
reconstruction_manager.h
colmap::ReconstructionManagerWidget::SelectReconstruction
void SelectReconstruction(const size_t idx)
Definition: reconstruction_manager_widget.cc:104
colmap
Definition: AutomaticReconstructionController.h:17
colmap::ReconstructionManagerWidget::kNewestReconstructionIdx
const static size_t kNewestReconstructionIdx
Definition: reconstruction_manager_widget.h:18
colmap::ReconstructionManager::Size
size_t Size() const
Definition: reconstruction_manager.cc:54
colmap::ReconstructionManagerWidget
Definition: reconstruction_manager_widget.h:16