ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
copy.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 // Local
11 #include <Utils/PCLCloud.h>
12 
13 #include "qPCL.h"
14 
15 // PCL
16 #include <pcl/PointIndices.h>
17 
18 class ccPointCloud;
19 
21 
29  ccPointCloud *outCloud,
30  pcl::PointIndicesPtr &in2outMapping,
31  bool overwrite = true);
32 
35  ccPointCloud *outCloud,
36  pcl::PointIndicesPtr &in2outMapping,
37  bool overwrite = true);
38 
39 // #endif // LP_PCL_PATCH_ENABLED
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
void QPCL_ENGINE_LIB_API copyScalarFields(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite=true)
Makes a copy of all scalar fields from one cloud to another.
Definition: copy.cpp:14
void QPCL_ENGINE_LIB_API copyRGBColors(const ccPointCloud *inCloud, ccPointCloud *outCloud, pcl::PointIndicesPtr &in2outMapping, bool overwrite=true)
Makes a copy of RGB colors from one cloud to another.
Definition: copy.cpp:72
#define QPCL_ENGINE_LIB_API
Definition: qPCL.h:15