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
LASwaveform13writer::ic8
IntegerCompressor * ic8
Definition: laswaveform13writer.hpp:60
LASpoint
Definition: lasdefinitions.hpp:472
LASvlr_wave_packet_descr
Definition: lasdefinitions.hpp:917
LASwaveform13writer::LASwaveform13writer
LASwaveform13writer()
Definition: laswaveform13writer.cpp:45
LASwaveformDescription
Definition: laswaveform13writer.cpp:37
LASwaveform13writer::stream
ByteStreamOut * stream
Definition: laswaveform13writer.hpp:57
LASwaveform13writer::write_waveform
BOOL write_waveform(LASpoint *point, U8 *samples)
Definition: laswaveform13writer.cpp:252
LASwaveform13writer::file
FILE * file
Definition: laswaveform13writer.hpp:56
LASwaveform13writer::~LASwaveform13writer
~LASwaveform13writer()
Definition: laswaveform13writer.cpp:55
ByteStreamOut
Definition: bytestreamout.hpp:36
ArithmeticEncoder
Definition: arithmeticencoder.hpp:39
LASwaveform13writer::open
BOOL open(const char *file_name, const LASvlr_wave_packet_descr *const *wave_packet_descr)
Definition: laswaveform13writer.cpp:72
U8
unsigned char U8
Definition: mydefs.hpp:41
BOOL
int BOOL
Definition: mydefs.hpp:57
LASwaveform13writer::close
void close()
Definition: laswaveform13writer.cpp:322
LASwaveform13writer
Definition: laswaveform13writer.hpp:42
LASwaveform13writer::ic16
IntegerCompressor * ic16
Definition: laswaveform13writer.hpp:61
LASwaveform13writer::waveforms
LASwaveformDescription ** waveforms
Definition: laswaveform13writer.hpp:55
LASwaveform13writer::enc
ArithmeticEncoder * enc
Definition: laswaveform13writer.hpp:59
lasdefinitions.hpp
IntegerCompressor
Definition: integercompressor.hpp:53


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 Wed Mar 2 2022 00:37:23