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
cloudViewer
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
colmap::Reconstruction::NumPoints3D
size_t NumPoints3D() const
Definition: reconstruction.h:442
cloudViewer::ReconstructionManagerWidget::ReconstructionManagerWidget
ReconstructionManagerWidget(QWidget *parent, const colmap::ReconstructionManager *reconstruction_manager)
Definition: ReconstructionManagerWidget.cpp:19
colmap::ReconstructionManager::Get
const Reconstruction & Get(const size_t idx) const
Definition: reconstruction_manager.cc:56
cloudViewer::ReconstructionManagerWidget::SelectedReconstructionIdx
size_t SelectedReconstructionIdx() const
Definition: ReconstructionManagerWidget.cpp:65
colmap::ReconstructionManagerWidget::ReconstructionManagerWidget
ReconstructionManagerWidget(QWidget *parent, const ReconstructionManager *reconstruction_manager)
Definition: reconstruction_manager_widget.cc:42
ReconstructionManagerWidget.h
cloudViewer::ReconstructionManagerWidget::SelectReconstruction
void SelectReconstruction(const size_t idx)
Definition: ReconstructionManagerWidget.cpp:77
colmap::Reconstruction::NumRegImages
size_t NumRegImages() const
Definition: reconstruction.h:440
colmap::ReconstructionManager
Definition: reconstruction_manager.h:16
cloudViewer::ReconstructionManagerWidget::kNewestReconstructionIdx
const static size_t kNewestReconstructionIdx
Definition: ReconstructionManagerWidget.h:19
reconstruction_manager.h
colmap
Definition: AutomaticReconstructionController.h:17
cloudViewer::ReconstructionManagerWidget::Update
void Update()
Definition: ReconstructionManagerWidget.cpp:28
colmap::ReconstructionManagerWidget::kNewestReconstructionIdx
const static size_t kNewestReconstructionIdx
Definition: reconstruction_manager_widget.h:18
cloudViewer::ReconstructionManagerWidget
Definition: ReconstructionManagerWidget.h:17
colmap::ReconstructionManager::Size
size_t Size() const
Definition: reconstruction_manager.cc:54