laswaveform13writer.hpp
Go to the documentation of this file.
1 /*
2 ===============================================================================
3 
4  FILE: laswaveform13writer.hpp
5 
6  CONTENTS:
7 
8  Interface to write 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_WRITER_HPP
33 #define LAS_WAVEFORM_13_WRITER_HPP
34 
35 #include "lasdefinitions.hpp"
36 
37 class ByteStreamOut;
39 class ArithmeticEncoder;
40 class IntegerCompressor;
41 
43 {
44 public:
45  BOOL open(const char* file_name, const LASvlr_wave_packet_descr * const * wave_packet_descr);
46 
47  BOOL write_waveform(LASpoint* point, U8* samples);
48 
49  void close();
50 
53 
54 private:
56  FILE* file;
58 
62 };
63 
64 #endif
BOOL open(const char *file_name, const LASvlr_wave_packet_descr *const *wave_packet_descr)
int BOOL
Definition: mydefs.hpp:57
ArithmeticEncoder * enc
unsigned char U8
Definition: mydefs.hpp:41
IntegerCompressor * ic16
BOOL write_waveform(LASpoint *point, U8 *samples)
IntegerCompressor * ic8
LASwaveformDescription ** waveforms


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