laswaveform13reader.hpp
Go to the documentation of this file.
1 /*
2 ===============================================================================
3 
4  FILE: laswaveform13reader.hpp
5 
6  CONTENTS:
7 
8  Interface to read the Waveform Data Packets that are associated with points
9  of type 4 and 5 in LAS 1.3.
10 
11  PROGRAMMERS:
12 
13  martin.isenburg@gmail.com
14 
15  COPYRIGHT:
16 
17  (c) 2007-2011, Martin Isenburg, LASSO - tools to catch reality
18 
19  This is free software; you can redistribute and/or modify it under the
20  terms of the GNU Lesser General Licence as published by the Free Software
21  Foundation. See the COPYING file for more information.
22 
23  This software is distributed WITHOUT ANY WARRANTY and without even the
24  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
25 
26  CHANGE HISTORY:
27 
28  17 October 2011 -- created after bauarbeiter on the roof next door woke me
29 
30 ===============================================================================
31 */
32 #ifndef LAS_WAVEFORM_13_READER_HPP
33 #define LAS_WAVEFORM_13_READER_HPP
34 
35 #include "lasdefinitions.hpp"
36 
37 class ByteStreamIn;
39 class ArithmeticDecoder;
40 class IntegerCompressor;
41 
43 {
44 public:
49  F32 XYZt[3];
51 
53 
56 
59 
61 
63  BOOL is_compressed() const;
64 
65  BOOL read_waveform(const LASpoint* point);
66 
67  BOOL get_samples();
68  BOOL has_samples();
69 
72 
73  void close();
74 
77 
78 private:
82  FILE* file;
89 };
90 
91 #endif
int BOOL
Definition: mydefs.hpp:57
IntegerCompressor * ic8
float F32
Definition: mydefs.hpp:51
unsigned int U32
Definition: mydefs.hpp:39
long long I64
Definition: mydefs.hpp:48
unsigned char U8
Definition: mydefs.hpp:41
BOOL open(const char *file_name, I64 start_of_waveform_data_packet_record, const LASvlr_wave_packet_descr *const *wave_packet_descr)
IntegerCompressor * ic16
const LASvlr_wave_packet_descr *const * wave_packet_descr
ArithmeticDecoder * dec
BOOL read_waveform(const LASpoint *point)
double F64
Definition: mydefs.hpp:52


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:07