ext
laslib
inc
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
;
38
class
LASwaveformDescription
;
39
class
ArithmeticEncoder
;
40
class
IntegerCompressor
;
41
42
class
LASwaveform13writer
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
51
LASwaveform13writer
();
52
~LASwaveform13writer
();
53
54
private
:
55
LASwaveformDescription
**
waveforms
;
56
FILE*
file
;
57
ByteStreamOut
*
stream
;
58
59
ArithmeticEncoder
*
enc
;
60
IntegerCompressor
*
ic8
;
61
IntegerCompressor
*
ic16
;
62
};
63
64
#endif
LASwaveform13writer::open
BOOL open(const char *file_name, const LASvlr_wave_packet_descr *const *wave_packet_descr)
Definition:
laswaveform13writer.cpp:72
BOOL
int BOOL
Definition:
mydefs.hpp:57
LASwaveform13writer::enc
ArithmeticEncoder * enc
Definition:
laswaveform13writer.hpp:59
LASwaveform13writer::~LASwaveform13writer
~LASwaveform13writer()
Definition:
laswaveform13writer.cpp:55
LASwaveform13writer::LASwaveform13writer
LASwaveform13writer()
Definition:
laswaveform13writer.cpp:45
ArithmeticEncoder
Definition:
arithmeticencoder.hpp:39
ByteStreamOut
Definition:
bytestreamout.hpp:36
LASwaveform13writer::close
void close()
Definition:
laswaveform13writer.cpp:322
LASwaveform13writer::stream
ByteStreamOut * stream
Definition:
laswaveform13writer.hpp:57
LASwaveform13writer::file
FILE * file
Definition:
laswaveform13writer.hpp:56
LASwaveform13writer
Definition:
laswaveform13writer.hpp:42
U8
unsigned char U8
Definition:
mydefs.hpp:41
IntegerCompressor
Definition:
integercompressor.hpp:53
LASwaveform13writer::ic16
IntegerCompressor * ic16
Definition:
laswaveform13writer.hpp:61
LASvlr_wave_packet_descr
Definition:
lasdefinitions.hpp:917
lasdefinitions.hpp
LASpoint
Definition:
lasdefinitions.hpp:472
LASwaveform13writer::write_waveform
BOOL write_waveform(LASpoint *point, U8 *samples)
Definition:
laswaveform13writer.cpp:252
LASwaveform13writer::ic8
IntegerCompressor * ic8
Definition:
laswaveform13writer.hpp:60
LASwaveform13writer::waveforms
LASwaveformDescription ** waveforms
Definition:
laswaveform13writer.hpp:55
LASwaveformDescription
Definition:
laswaveform13writer.cpp:37
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