MCPcopy Create free account
hub / github.com/colmap/colmap / StartFunction

Method StartFunction

src/colmap/ui/thread_control_widget.cc:97–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void ThreadControlWidget::StartFunction(const QString& progress_text,
98 const std::function<void()>& func) {
99 class FunctionThread : public Thread {
100 public:
101 explicit FunctionThread(const std::function<void()>& f) : func_(f) {}
102
103 private:
104 void Run() { func_(); }
105 const std::function<void()> func_;
106 };
107
108 StartThread(progress_text, false, std::make_unique<FunctionThread>(func));
109}
110
111} // namespace colmap

Callers 9

ImportReconstructionMethod · 0.80
ImportFromMethod · 0.80
ExportMethod · 0.80
ExportAllMethod · 0.80
ExportAsMethod · 0.80
ExportAsTextMethod · 0.80
ExtractColorsMethod · 0.80
PoissonMeshingMethod · 0.80
DelaunayMeshingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected