ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pointsreader.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 <QRunnable>
11 
12 #include "point3f.h"
13 #include "qPCL.h"
14 #include "signalledrunable.h"
15 #include "utils.h"
16 
17 namespace VtkUtils {
18 
20  Q_OBJECT
21 public:
22  explicit PointsReader(const QString& file);
23 
24  void run();
25 
26  const QList<Point3F>& points() const;
27 
28 private:
29  QString m_file;
30  QList<Point3F> m_points;
31 };
32 
33 } // namespace VtkUtils
int points
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15