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
{
23
class
QPCL_ENGINE_LIB_API
PointsToPolyDataConverter
:
public
SignalledRunnable
{
24
Q_OBJECT
25
public
:
26
explicit
PointsToPolyDataConverter
(
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;
37
vtkSmartPointer<vtkPolyData>
m_polyData;
38
};
39
40
}
// namespace VtkUtils
CVGeom.h
points
int points
Definition:
FileIOFactory.cpp:144
VtkUtils::PointsToPolyDataConverter
Definition:
pointstopolydataconverter.h:23
VtkUtils::SignalledRunnable
Definition:
signalledrunable.h:17
vtkSmartPointer< vtkPolyData >
VtkUtils
Definition:
VtkMultiTextureRenderer.cpp:46
point3f.h
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition:
qPCL.h:15
signalledrunable.h
libs
PCLEngine
VtkUtils
pointstopolydataconverter.h
Generated on Tue Feb 3 2026 07:12:29 for ACloudViewer by
1.9.1