ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
LasWaveformLoader.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 <QFileInfo>
29
#include <QString>
30
// DB
31
#include <
ecvPointCloud.h
>
32
// LASzip
33
#include <laszip/laszip_api.h>
34
35
struct
LasWaveformLoader
36
{
37
LasWaveformLoader
(
const
laszip_header_struct& laszipHeader,
38
const
QString& lasFilename,
39
ccPointCloud
& pointCloud);
40
41
void
loadWaveform
(
ccPointCloud
& pointCloud,
const
laszip_point& currentPoint)
const
;
42
43
unsigned
fwfDataCount
{0};
44
unsigned
fwfDataOffset
{0};
45
bool
isPointFormatExtended
{
false
};
46
ccPointCloud::FWFDescriptorSet
descriptors
;
47
};
ccPointCloud
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
Definition:
ecvPointCloud.h:147
ccPointCloud::FWFDescriptorSet
QMap< uint8_t, WaveformDescriptor > FWFDescriptorSet
Waveform descriptors set.
Definition:
ecvPointCloud.h:503
ecvPointCloud.h
LasWaveformLoader
Definition:
LasWaveformLoader.h:36
LasWaveformLoader::LasWaveformLoader
LasWaveformLoader(const laszip_header_struct &laszipHeader, const QString &lasFilename, ccPointCloud &pointCloud)
Definition:
LasWaveformLoader.cpp:61
LasWaveformLoader::fwfDataOffset
unsigned fwfDataOffset
Definition:
LasWaveformLoader.h:44
LasWaveformLoader::isPointFormatExtended
bool isPointFormatExtended
Definition:
LasWaveformLoader.h:45
LasWaveformLoader::fwfDataCount
unsigned fwfDataCount
Definition:
LasWaveformLoader.h:43
LasWaveformLoader::descriptors
ccPointCloud::FWFDescriptorSet descriptors
Definition:
LasWaveformLoader.h:46
LasWaveformLoader::loadWaveform
void loadWaveform(ccPointCloud &pointCloud, const laszip_point ¤tPoint) const
Definition:
LasWaveformLoader.cpp:169
plugins
core
IO
qLASIO
include
LasWaveformLoader.h
Generated on Wed Jan 28 2026 09:01:06 for ACloudViewer by
1.9.1