conversion_utilities.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: BSD-3-Clause
2 // SPDX-FileCopyrightText: Czech Technical University in Prague .. 2019, paplhjak
3 
4 #pragma once
5 
7 {
8 
10 template<typename PC1, typename PC2>
11 void copyCloudMetadata(PC1& target, const PC2& source)
12 {
13  target.header = source.header;
14  target.height = source.height;
15  target.width = source.width;
16  target.fields = source.fields;
17  target.is_bigendian = source.is_bigendian;
18  target.point_step = source.point_step;
19  target.row_step = source.row_step;
20  target.is_dense = source.is_dense;
21 }
22 
23 }
void copyCloudMetadata(PC1 &target, const PC2 &source)
copies header, width, ... between clouds


draco_point_cloud_transport
Author(s): Jakub Paplham
autogenerated on Sat Jun 17 2023 02:29:18