ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
LasWaveformSaver.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 // ##########################################################################
11 // # #
12 // # CloudViewer PLUGIN: LAS-IO Plugin #
13 // # #
14 // # This program is free software; you can redistribute it and/or modify #
15 // # it under the terms of the GNU General Public License as published by #
16 // # the Free Software Foundation; version 2 of the License. #
17 // # #
18 // # This program is distributed in the hope that it will be useful, #
19 // # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20 // # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21 // # GNU General Public License for more details. #
22 // # #
23 // # COPYRIGHT: Thomas Montaigu #
24 // # #
25 // ##########################################################################
26 
27 // Qt
28 #include <QByteArray>
29 #include <QDataStream>
30 // LASzip
31 #include <laszip/laszip_api.h>
32 
33 class ccPointCloud;
34 
36 {
37  LasWaveformSaver(const ccPointCloud& pointCloud) noexcept;
38 
39  void handlePoint(size_t index, laszip_point& point);
40 
41  private:
42  QByteArray m_array;
43  const ccPointCloud& m_pointCloud;
44 };
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
void handlePoint(size_t index, laszip_point &point)
LasWaveformSaver(const ccPointCloud &pointCloud) noexcept
Definition: lsd.c:149