ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ReconstructionStatsWidget.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 Reconstruction;
14 }
15 
16 namespace cloudViewer {
17 
18 class ReconstructionStatsWidget : public QWidget {
19 public:
20  explicit ReconstructionStatsWidget(QWidget* parent);
21 
22  void Show(const colmap::Reconstruction& reconstruction);
23 
24 private:
25  void AddStatistic(const QString& header, const QString& content);
26 
27  QTableWidget* stats_table_;
28 };
29 
30 } // namespace cloudViewer
void Show(const colmap::Reconstruction &reconstruction)
Generic file read and write utility for python interface.