ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
reconstruction_stats_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 
10 #include <QtWidgets>
11 
12 #include "base/reconstruction.h"
13 
14 namespace colmap {
15 
16 class ReconstructionStatsWidget : public QWidget {
17 public:
18  explicit ReconstructionStatsWidget(QWidget* parent);
19 
20  void Show(const Reconstruction& reconstruction);
21 
22 private:
23  void AddStatistic(const QString& header, const QString& content);
24 
25  QTableWidget* stats_table_;
26 };
27 
28 } // namespace colmap
void Show(const Reconstruction &reconstruction)