ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
pointstopolydataconverter.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 "../qPCL.h"
11 
12 // CV_CORE_LIB
13 #include <CVGeom.h>
14 #include <vtkSmartPointer.h>
15 
16 #include <QVector>
17 
18 #include "point3f.h"
19 #include "signalledrunable.h"
20 
21 class vtkPolyData;
22 namespace VtkUtils {
24  Q_OBJECT
25 public:
27  const QVector<Point3F>& points,
28  const QVector<Tuple3ui>& vertices = QVector<Tuple3ui>());
29 
30  void run();
31 
32  vtkPolyData* polyData() const;
33 
34 private:
35  QVector<Point3F> m_points;
36  QVector<Tuple3ui> m_vertices;
38 };
39 
40 } // namespace VtkUtils
int points
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15