ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
automatic_reconstruction_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 
11 #include "ui/options_widget.h"
13 
14 namespace colmap {
15 
16 class MainWindow;
17 
19 public:
21 
22  void Run();
23 
24 private:
25  void RenderResult();
26 
27  MainWindow* main_window_;
29  ThreadControlWidget* thread_control_widget_;
30  QComboBox* data_type_cb_;
31  QComboBox* quality_cb_;
32  QComboBox* mesher_cb_;
33  QAction* render_result_;
34 };
35 
36 } // namespace colmap
colmap::AutomaticReconstructionWidget::AutomaticReconstructionWidget
AutomaticReconstructionWidget(MainWindow *main_window)
Definition: automatic_reconstruction_widget.cc:38
colmap::AutomaticReconstructionController::Options::image_path
std::string image_path
Definition: automatic_reconstruction.h:30
colmap::AutomaticReconstructionController::Quality::HIGH
@ HIGH
colmap::OptionsWidget::AddSpacer
void AddSpacer()
Definition: options_widget.cc:202
colmap::ThreadControlWidget
Definition: thread_control_widget.h:17
colmap::AutomaticReconstructionController::Options::mesher
Mesher mesher
Definition: automatic_reconstruction.h:64
option_manager.h
colmap::ThreadControlWidget::StartThread
void StartThread(const QString &progress_text, const bool stoppable, Thread *thread)
Definition: thread_control_widget.cc:53
colmap::AutomaticReconstructionWidget
Definition: automatic_reconstruction_widget.h:18
colmap::ReconstructionManagerWidget::Update
void Update()
Definition: reconstruction_manager_widget.cc:50
colmap::OptionManager
Definition: option_manager.h:38
colmap::AutomaticReconstructionController::Options::dense
bool dense
Definition: automatic_reconstruction.h:57
colmap::AutomaticReconstructionController
Definition: automatic_reconstruction.h:19
colmap::AutomaticReconstructionController::DataType::INDIVIDUAL
@ INDIVIDUAL
colmap::Thread::FINISHED_CALLBACK
@ FINISHED_CALLBACK
Definition: threading.h:78
main
int main(int argc, char **argv)
Definition: example.cc:39
colmap::ReconstructionManager::Clear
void Clear()
Definition: reconstruction_manager.cc:75
colmap::AutomaticReconstructionController::DataType::INTERNET
@ INTERNET
colmap::AutomaticReconstructionController::Options::use_gpu
bool use_gpu
Definition: automatic_reconstruction.h:77
colmap::OptionsWidget::grid_layout_
QGridLayout * grid_layout_
Definition: options_widget.h:70
colmap::AutomaticReconstructionController::Options::vocab_tree_path
std::string vocab_tree_path
Definition: automatic_reconstruction.h:36
colmap::AutomaticReconstructionController::DataType::VIDEO
@ VIDEO
colmap::Reconstruction
Definition: reconstruction.h:40
colmap::OptionsWidget::AddOptionBool
QCheckBox * AddOptionBool(bool *option, const std::string &label_text)
Definition: options_widget.cc:139
colmap::Reconstruction::Write
void Write(const std::string &path) const
Definition: reconstruction.cc:787
colmap::OptionManager::AddRequiredOption
void AddRequiredOption(const std::string &name, T *option, const std::string &help_text="")
Definition: option_manager.h:171
colmap::AutomaticReconstructionController::Options::num_threads
int num_threads
Definition: automatic_reconstruction.h:71
colmap::AutomaticReconstructionController::Mesher::POISSON
@ POISSON
automatic_reconstruction.h
automatic_reconstruction_widget.h
colmap::OptionsWidget::AddOptionFilePath
QLineEdit * AddOptionFilePath(std::string *option, const std::string &label_text)
Definition: options_widget.cc:161
colmap::Thread::AddCallback
void AddCallback(const int id, const std::function< void()> &func)
Definition: threading.cc:117
colmap::AutomaticReconstructionController::Options::texturing
bool texturing
Definition: automatic_reconstruction.h:68
MainWindow
Definition: MainWindow.h:117
colmap::Reconstruction::Read
void Read(const std::string &path)
Definition: reconstruction.cc:772
colmap::AutomaticReconstructionController::Options
Definition: automatic_reconstruction.h:25
colmap::OptionsWidget::AddOptionInt
QSpinBox * AddOptionInt(int *option, const std::string &label_text, const int min=0, const int max=static_cast< int >(1e7))
Definition: options_widget.cc:93
options_widget.h
colmap::AutomaticReconstructionController::Options::quality
Quality quality
Definition: automatic_reconstruction.h:42
colmap::AutomaticReconstructionController::Options::mask_path
std::string mask_path
Definition: automatic_reconstruction.h:33
colmap::AutomaticReconstructionController::Quality::EXTREME
@ EXTREME
colmap::AutomaticReconstructionController::Options::single_camera
bool single_camera
Definition: automatic_reconstruction.h:45
colmap::ExistsDir
bool ExistsDir(const std::string &path)
Definition: misc.cc:104
reconstruction.h
thread_control_widget.h
colmap::AutomaticReconstructionController::Options::data_type
DataType data_type
Definition: automatic_reconstruction.h:39
colmap::MainWindow
Definition: main_window.h:36
colmap::AutomaticReconstructionController::Options::workspace_path
std::string workspace_path
Definition: automatic_reconstruction.h:27
colmap::OptionManager::Parse
void Parse(const int argc, char **argv)
Definition: option_manager.cc:888
colmap::AutomaticReconstructionController::Mesher::DELAUNAY
@ DELAUNAY
colmap::OptionsWidget::AddOptionText
QLineEdit * AddOptionText(std::string *option, const std::string &label_text)
Definition: options_widget.cc:150
colmap::OptionsWidget
Definition: options_widget.h:16
colmap::OptionsWidget::AddOptionDirPath
QLineEdit * AddOptionDirPath(std::string *option, const std::string &label_text)
Definition: options_widget.cc:181
colmap::AutomaticReconstructionWidget::Run
void Run()
Definition: automatic_reconstruction_widget.cc:115
colmap::InitializeGlog
void InitializeGlog(char **argv)
Definition: logging.cc:36
logging.h
colmap::AutomaticReconstructionController::Options::sparse
bool sparse
Definition: automatic_reconstruction.h:51
colmap::OptionsWidget::WriteOptions
void WriteOptions()
Definition: options_widget.cc:242
colmap
Definition: AutomaticReconstructionController.h:17
colmap::AutomaticReconstructionController::Quality::LOW
@ LOW
colmap::AutomaticReconstructionController::Quality::MEDIUM
@ MEDIUM
colmap::AutomaticReconstructionController::Options::gpu_index
std::string gpu_index
Definition: automatic_reconstruction.h:83
colmap::ReconstructionManager::Size
size_t Size() const
Definition: reconstruction_manager.cc:54
main_window.h