ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
FeatureMatchingWidget.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 <QtCore>
11 #include <QtWidgets>
12 
13 #include "util/option_manager.h"
14 
15 namespace cloudViewer {
16 
18 class FeatureMatchingWidget : public QWidget {
19 public:
20  FeatureMatchingWidget(QWidget* parent, OptionManager* options);
21 
22 private:
23  void showEvent(QShowEvent* event);
24  void hideEvent(QHideEvent* event);
25 
26  QWidget* parent_;
27  QTabWidget* tab_widget_;
28 };
29 
30 } // namespace cloudViewer
cloudViewer::CustomMatchingTab
Definition: FeatureMatchingWidget.cpp:65
cloudViewer
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
colmap::SpatialMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:263
cloudViewer::SpatialMatchingTab
Definition: FeatureMatchingWidget.cpp:53
colmap::OptionsWidget::AddSpacer
void AddSpacer()
Definition: options_widget.cc:202
colmap::OptionManager::exhaustive_matching
std::shared_ptr< ExhaustiveMatchingOptions > exhaustive_matching
Definition: option_manager.h:106
colmap::OptionsWidget::AddOptionDouble
QDoubleSpinBox * AddOptionDouble(double *option, const std::string &label_text, const double min=0, const double max=1e7, const double step=0.01, const int decimals=2)
Definition: options_widget.cc:107
colmap::OptionsWidget::AddSection
void AddSection(const std::string &title)
Definition: options_widget.cc:208
colmap::CustomMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:307
colmap::OptionManager::transitive_matching
std::shared_ptr< TransitiveMatchingOptions > transitive_matching
Definition: option_manager.h:110
option_manager.h
cloudViewer::SequentialMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:183
colmap::CustomMatchingTab::CustomMatchingTab
CustomMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:292
colmap::ExistsFile
bool ExistsFile(const std::string &path)
Definition: misc.cc:100
colmap::ImagePairsFeatureMatcher
Definition: matching.h:506
colmap::OptionManager
Definition: option_manager.h:38
colmap::SequentialFeatureMatcher
Definition: matching.h:422
cloudViewer::ThreadControlWidget::StartThread
void StartThread(const QString &progress_text, const bool stoppable, colmap::Thread *thread)
Definition: ThreadControlWidget.cpp:34
cloudViewer::VocabTreeMatchingTab
Definition: FeatureMatchingWidget.cpp:47
colmap::FeaturePairsFeatureMatcher
Definition: matching.h:537
cloudViewer::FeatureMatchingTab::Run
virtual void Run()=0
colmap::ImagePairsMatchingOptions
Definition: matching.h:127
cloudViewer::OptionManager
colmap::OptionManager OptionManager
Definition: BundleAdjustmentWidget.h:19
colmap::Thread
Definition: threading.h:74
cloudViewer::FeatureMatchingTab::CreateGeneralOptions
void CreateGeneralOptions()
Definition: FeatureMatchingWidget.cpp:82
cloudViewer::FeatureMatchingWidget::FeatureMatchingWidget
FeatureMatchingWidget(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:325
cloudViewer::ThreadControlWidget
Definition: ThreadControlWidget.h:19
colmap::FeatureMatchingTab::Run
virtual void Run()=0
colmap::ExhaustiveMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:157
colmap::SequentialMatchingTab::SequentialMatchingTab
SequentialMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:166
colmap::OptionsWidget::AddOptionRow
void AddOptionRow(const std::string &label_text, QWidget *widget, void *option)
Definition: options_widget.cc:50
cloudViewer::CustomMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:293
cloudViewer::VocabTreeMatchingTab::VocabTreeMatchingTab
VocabTreeMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:198
ThreadControlWidget.h
colmap::SequentialMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:200
colmap::OptionsWidget::AddOptionBool
QCheckBox * AddOptionBool(bool *option, const std::string &label_text)
Definition: options_widget.cc:139
cloudViewer::SequentialMatchingTab
Definition: FeatureMatchingWidget.cpp:41
matching.h
colmap::OptionsWidget::AddOptionFilePath
QLineEdit * AddOptionFilePath(std::string *option, const std::string &label_text)
Definition: options_widget.cc:161
event
MouseEvent event
Definition: BitmapWindowSystem.cpp:61
colmap::OptionManager::spatial_matching
std::shared_ptr< SpatialMatchingOptions > spatial_matching
Definition: option_manager.h:109
cloudViewer::FeatureMatchingTab
Definition: FeatureMatchingWidget.cpp:20
colmap::VocabTreeMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:236
cloudViewer::ExhaustiveMatchingTab
Definition: FeatureMatchingWidget.cpp:35
cloudViewer::ExhaustiveMatchingTab::ExhaustiveMatchingTab
ExhaustiveMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:129
colmap::FeatureMatchingTab::FeatureMatchingTab
FeatureMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:95
cloudViewer::ExhaustiveMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:138
misc.h
colmap::ImagePairsMatchingOptions::match_list_path
std::string match_list_path
Definition: matching.h:132
cloudViewer::FeatureMatchingTab::options_widget_
OptionsWidget * options_widget_
Definition: FeatureMatchingWidget.cpp:30
cloudViewer::FeatureMatchingWidget
Definition: FeatureMatchingWidget.h:18
colmap::TransitiveFeatureMatcher
Definition: matching.h:481
cloudViewer::FeatureMatchingTab::thread_control_widget_
ThreadControlWidget * thread_control_widget_
Definition: FeatureMatchingWidget.cpp:32
cloudViewer::TransitiveMatchingTab
Definition: FeatureMatchingWidget.cpp:59
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
colmap::OptionManager::image_pairs_matching
std::shared_ptr< ImagePairsMatchingOptions > image_pairs_matching
Definition: option_manager.h:111
options_widget.h
colmap::SpatialFeatureMatcher
Definition: matching.h:461
cloudViewer::FeatureMatchingTab::grid_layout_
QGridLayout * grid_layout_
Definition: FeatureMatchingWidget.cpp:31
colmap::VocabTreeFeatureMatcher
Definition: matching.h:443
colmap::OptionManager::sift_matching
std::shared_ptr< SiftMatchingOptions > sift_matching
Definition: option_manager.h:105
colmap::SpatialMatchingTab::SpatialMatchingTab
SpatialMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:250
FeatureMatchingWidget.h
colmap::FeaturePairsMatchingOptions
Definition: matching.h:137
cloudViewer::CustomMatchingTab::CustomMatchingTab
CustomMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:278
colmap::OptionManager::database_path
std::shared_ptr< std::string > database_path
Definition: option_manager.h:99
colmap::FeaturePairsMatchingOptions::match_list_path
std::string match_list_path
Definition: matching.h:142
colmap::VocabTreeMatchingTab::VocabTreeMatchingTab
VocabTreeMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:215
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
cloudViewer::FeatureMatchingTab::options_
OptionManager * options_
Definition: FeatureMatchingWidget.cpp:29
cloudViewer::TransitiveMatchingTab::TransitiveMatchingTab
TransitiveMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:258
colmap::ExhaustiveFeatureMatcher
Definition: matching.h:388
colmap::OptionsWidget::WriteOptions
void WriteOptions()
Definition: options_widget.cc:242
colmap::OptionManager::sequential_matching
std::shared_ptr< SequentialMatchingOptions > sequential_matching
Definition: option_manager.h:107
colmap::TransitiveMatchingTab::Run
void Run() override
Definition: feature_matching_widget.cc:283
colmap
Definition: AutomaticReconstructionController.h:17
cloudViewer::SpatialMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:249
cloudViewer::VocabTreeMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:220
cloudViewer::SequentialMatchingTab::SequentialMatchingTab
SequentialMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:147
colmap::ExhaustiveMatchingTab::ExhaustiveMatchingTab
ExhaustiveMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:148
cloudViewer::SpatialMatchingTab::SpatialMatchingTab
SpatialMatchingTab(QWidget *parent, OptionManager *options)
Definition: FeatureMatchingWidget.cpp:234
colmap::OptionManager::vocab_tree_matching
std::shared_ptr< VocabTreeMatchingOptions > vocab_tree_matching
Definition: option_manager.h:108
cloudViewer::TransitiveMatchingTab::Run
void Run() override
Definition: FeatureMatchingWidget.cpp:269
colmap::FeatureMatchingTab::CreateGeneralOptions
void CreateGeneralOptions()
Definition: feature_matching_widget.cc:102
colmap::TransitiveMatchingTab::TransitiveMatchingTab
TransitiveMatchingTab(QWidget *parent, OptionManager *options)
Definition: feature_matching_widget.cc:272
colmap::FeaturePairsMatchingOptions::verify_matches
bool verify_matches
Definition: matching.h:139