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
utils.h
QtCompat.h
VtkUtils::Point3F
Definition: point3f.h:14
VtkUtils::SignalledRunnable::finished
void finished()
qPCL.h
VtkUtils::PointsReader::points
const QList< Point3F > & points() const
Definition: pointsreader.cpp:46
VtkUtils::PointsReader::PointsReader
PointsReader(const QString &file)
Definition: pointsreader.cpp:18
points
int points
Definition: FileIOFactory.cpp:144
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15
VtkUtils
Definition: VtkMultiTextureRenderer.cpp:46
VtkUtils::SignalledRunnable
Definition: signalledrunable.h:17
VtkUtils::PointsReader::run
void run()
Definition: pointsreader.cpp:20
pointsreader.h
point3f.h
signalledrunable.h
VtkUtils::PointsReader
Definition: pointsreader.h:19