lasreaditemcompressed_v2.hpp
Go to the documentation of this file.
1 /*
2 ===============================================================================
3 
4  FILE: lasreaditemcompressed_v2.hpp
5 
6  CONTENTS:
7 
8  Implementation of LASitemReadCompressed for *all* items (version 2).
9 
10  PROGRAMMERS:
11 
12  martin.isenburg@gmail.com
13 
14  COPYRIGHT:
15 
16  (c) 2010-2011, Martin Isenburg, LASSO - tools to catch reality
17 
18  This is free software; you can redistribute and/or modify it under the
19  terms of the GNU Lesser General Licence as published by the Free Software
20  Foundation. See the COPYING file for more information.
21 
22  This software is distributed WITHOUT ANY WARRANTY and without even the
23  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24 
25  CHANGE HISTORY:
26 
27  5 March 2011 -- created first night in ibiza to improve the RGB compressor
28 
29 ===============================================================================
30 */
31 #ifndef LAS_READ_ITEM_COMPRESSED_V2_HPP
32 #define LAS_READ_ITEM_COMPRESSED_V2_HPP
33 
34 #include "lasreaditem.hpp"
35 #include "entropydecoder.hpp"
36 #include "integercompressor.hpp"
37 
38 #include "laszip_common_v2.hpp"
39 
41 {
42 public:
43 
45 
46  BOOL init(const U8* item);
47  void read(U8* item);
48 
50 
51 private:
58 
59  EntropyModel* m_changed_values;
61  EntropyModel* m_scan_angle_rank[2];
63  EntropyModel* m_bit_byte[256];
64  EntropyModel* m_classification[256];
65  EntropyModel* m_user_data[256];
69 };
70 
72 {
73 public:
74 
76 
77  BOOL init(const U8* item);
78  void read(U8* item);
79 
81 
82 private:
88 
89  EntropyModel* m_gpstime_multi;
90  EntropyModel* m_gpstime_0diff;
92 };
93 
95 {
96 public:
97 
99 
100  BOOL init(const U8* item);
101  void read(U8* item);
102 
104 
105 private:
108 
109  EntropyModel* m_byte_used;
110  EntropyModel* m_rgb_diff_0;
111  EntropyModel* m_rgb_diff_1;
112  EntropyModel* m_rgb_diff_2;
113  EntropyModel* m_rgb_diff_3;
114  EntropyModel* m_rgb_diff_4;
115  EntropyModel* m_rgb_diff_5;
116 };
117 
119 {
120 public:
121 
123 
124  BOOL init(const U8* item);
125  void read(U8* item);
126 
128 
129 private:
133 
134  EntropyModel** m_byte;
135 };
136 
137 #endif
LASreadItemCompressed_GPSTIME11_v2::last_gpstime_diff
I32 last_gpstime_diff[4]
Definition: lasreaditemcompressed_v2.hpp:86
LASreadItemCompressed_RGB12_v2::m_rgb_diff_3
EntropyModel * m_rgb_diff_3
Definition: lasreaditemcompressed_v2.hpp:113
LASreadItemCompressed_RGB12_v2::init
BOOL init(const U8 *item)
Definition: lasreaditemcompressed_v2.cpp:435
laszip_common_v2.hpp
LASreadItemCompressed_RGB12_v2::LASreadItemCompressed_RGB12_v2
LASreadItemCompressed_RGB12_v2(EntropyDecoder *dec)
Definition: lasreaditemcompressed_v2.cpp:408
LASreadItemCompressed_POINT10_v2::m_bit_byte
EntropyModel * m_bit_byte[256]
Definition: lasreaditemcompressed_v2.hpp:63
LASreadItemCompressed_BYTE_v2::LASreadItemCompressed_BYTE_v2
LASreadItemCompressed_BYTE_v2(EntropyDecoder *dec, U32 number)
Definition: lasreaditemcompressed_v2.cpp:533
LASreadItemCompressed_POINT10_v2::m_user_data
EntropyModel * m_user_data[256]
Definition: lasreaditemcompressed_v2.hpp:65
LASreadItemCompressed_GPSTIME11_v2::ic_gpstime
IntegerCompressor * ic_gpstime
Definition: lasreaditemcompressed_v2.hpp:91
LASreadItemCompressed_POINT10_v2::LASreadItemCompressed_POINT10_v2
LASreadItemCompressed_POINT10_v2(EntropyDecoder *dec)
Definition: lasreaditemcompressed_v2.cpp:53
I32
int I32
Definition: mydefs.hpp:35
LASreadItemCompressed_BYTE_v2::read
void read(U8 *item)
Definition: lasreaditemcompressed_v2.cpp:581
LASreadItemCompressed
Definition: lasreaditem.hpp:65
LASreadItemCompressed_POINT10_v2::read
void read(U8 *item)
Definition: lasreaditemcompressed_v2.cpp:137
LASreadItemCompressed_POINT10_v2::m_changed_values
EntropyModel * m_changed_values
Definition: lasreaditemcompressed_v2.hpp:59
LASreadItemCompressed_RGB12_v2::read
void read(U8 *item)
Definition: lasreaditemcompressed_v2.cpp:453
LASreadItemCompressed_BYTE_v2::m_byte
EntropyModel ** m_byte
Definition: lasreaditemcompressed_v2.hpp:134
EntropyDecoder
Definition: entropydecoder.hpp:38
LASreadItemCompressed_GPSTIME11_v2::init
BOOL init(const U8 *item)
Definition: lasreaditemcompressed_v2.cpp:271
LASreadItemCompressed_GPSTIME11_v2::last
U32 last
Definition: lasreaditemcompressed_v2.hpp:84
LASreadItemCompressed_POINT10_v2::ic_dx
IntegerCompressor * ic_dx
Definition: lasreaditemcompressed_v2.hpp:66
LASreadItemCompressed_POINT10_v2::dec
EntropyDecoder * dec
Definition: lasreaditemcompressed_v2.hpp:52
LASreadItemCompressed_GPSTIME11_v2::~LASreadItemCompressed_GPSTIME11_v2
~LASreadItemCompressed_GPSTIME11_v2()
Definition: lasreaditemcompressed_v2.cpp:264
LASreadItemCompressed_BYTE_v2::dec
EntropyDecoder * dec
Definition: lasreaditemcompressed_v2.hpp:130
LASreadItemCompressed_GPSTIME11_v2::multi_extreme_counter
I32 multi_extreme_counter[4]
Definition: lasreaditemcompressed_v2.hpp:87
LASreadItemCompressed_BYTE_v2::init
BOOL init(const U8 *item)
Definition: lasreaditemcompressed_v2.cpp:565
LASreadItemCompressed_GPSTIME11_v2::m_gpstime_multi
EntropyModel * m_gpstime_multi
Definition: lasreaditemcompressed_v2.hpp:89
LASreadItemCompressed_RGB12_v2::m_rgb_diff_0
EntropyModel * m_rgb_diff_0
Definition: lasreaditemcompressed_v2.hpp:110
LASreadItemCompressed_POINT10_v2::ic_dy
IntegerCompressor * ic_dy
Definition: lasreaditemcompressed_v2.hpp:67
lasreaditem.hpp
LASreadItemCompressed_POINT10_v2
Definition: lasreaditemcompressed_v2.hpp:40
U16
unsigned short U16
Definition: mydefs.hpp:40
LASreadItemCompressed_BYTE_v2
Definition: lasreaditemcompressed_v2.hpp:118
LASreadItemCompressed_RGB12_v2::m_rgb_diff_4
EntropyModel * m_rgb_diff_4
Definition: lasreaditemcompressed_v2.hpp:114
LASreadItemCompressed_POINT10_v2::last_intensity
U16 last_intensity[16]
Definition: lasreaditemcompressed_v2.hpp:54
LASreadItemCompressed_GPSTIME11_v2::last_gpstime
U64I64F64 last_gpstime[4]
Definition: lasreaditemcompressed_v2.hpp:85
LASreadItemCompressed_GPSTIME11_v2::dec
EntropyDecoder * dec
Definition: lasreaditemcompressed_v2.hpp:83
LASreadItemCompressed_RGB12_v2::m_rgb_diff_5
EntropyModel * m_rgb_diff_5
Definition: lasreaditemcompressed_v2.hpp:115
U8
unsigned char U8
Definition: mydefs.hpp:41
BOOL
int BOOL
Definition: mydefs.hpp:57
U64I64F64
Definition: mydefs.hpp:61
LASreadItemCompressed_POINT10_v2::last_height
I32 last_height[8]
Definition: lasreaditemcompressed_v2.hpp:57
LASreadItemCompressed_BYTE_v2::last_item
U8 * last_item
Definition: lasreaditemcompressed_v2.hpp:132
LASreadItemCompressed_GPSTIME11_v2::next
U32 next
Definition: lasreaditemcompressed_v2.hpp:84
LASreadItemCompressed_POINT10_v2::last_item
U8 last_item[20]
Definition: lasreaditemcompressed_v2.hpp:53
LASreadItemCompressed_BYTE_v2::number
U32 number
Definition: lasreaditemcompressed_v2.hpp:131
LASreadItemCompressed_RGB12_v2
Definition: lasreaditemcompressed_v2.hpp:94
LASreadItemCompressed_RGB12_v2::m_rgb_diff_2
EntropyModel * m_rgb_diff_2
Definition: lasreaditemcompressed_v2.hpp:112
LASreadItemCompressed_POINT10_v2::last_y_diff_median5
StreamingMedian5 last_y_diff_median5[16]
Definition: lasreaditemcompressed_v2.hpp:56
integercompressor.hpp
LASreadItemCompressed_BYTE_v2::~LASreadItemCompressed_BYTE_v2
~LASreadItemCompressed_BYTE_v2()
Definition: lasreaditemcompressed_v2.cpp:554
StreamingMedian5
Definition: laszip_common_v2.hpp:35
LASreadItemCompressed_POINT10_v2::~LASreadItemCompressed_POINT10_v2
~LASreadItemCompressed_POINT10_v2()
Definition: lasreaditemcompressed_v2.cpp:78
LASreadItemCompressed_GPSTIME11_v2::m_gpstime_0diff
EntropyModel * m_gpstime_0diff
Definition: lasreaditemcompressed_v2.hpp:90
U32
unsigned int U32
Definition: mydefs.hpp:39
LASreadItemCompressed_GPSTIME11_v2
Definition: lasreaditemcompressed_v2.hpp:71
entropydecoder.hpp
LASreadItemCompressed_GPSTIME11_v2::LASreadItemCompressed_GPSTIME11_v2
LASreadItemCompressed_GPSTIME11_v2(EntropyDecoder *dec)
Definition: lasreaditemcompressed_v2.cpp:253
LASreadItemCompressed_RGB12_v2::dec
EntropyDecoder * dec
Definition: lasreaditemcompressed_v2.hpp:106
LASreadItemCompressed_POINT10_v2::ic_intensity
IntegerCompressor * ic_intensity
Definition: lasreaditemcompressed_v2.hpp:60
LASreadItemCompressed_POINT10_v2::m_scan_angle_rank
EntropyModel * m_scan_angle_rank[2]
Definition: lasreaditemcompressed_v2.hpp:61
LASreadItemCompressed_POINT10_v2::m_classification
EntropyModel * m_classification[256]
Definition: lasreaditemcompressed_v2.hpp:64
LASreadItemCompressed_POINT10_v2::init
BOOL init(const U8 *item)
Definition: lasreaditemcompressed_v2.cpp:98
LASreadItemCompressed_RGB12_v2::last_item
U16 last_item[3]
Definition: lasreaditemcompressed_v2.hpp:107
LASreadItemCompressed_GPSTIME11_v2::read
void read(U8 *item)
Definition: lasreaditemcompressed_v2.cpp:297
LASreadItemCompressed_POINT10_v2::last_x_diff_median5
StreamingMedian5 last_x_diff_median5[16]
Definition: lasreaditemcompressed_v2.hpp:55
LASreadItemCompressed_RGB12_v2::~LASreadItemCompressed_RGB12_v2
~LASreadItemCompressed_RGB12_v2()
Definition: lasreaditemcompressed_v2.cpp:424
LASreadItemCompressed_RGB12_v2::m_byte_used
EntropyModel * m_byte_used
Definition: lasreaditemcompressed_v2.hpp:109
LASreadItemCompressed_POINT10_v2::ic_z
IntegerCompressor * ic_z
Definition: lasreaditemcompressed_v2.hpp:68
IntegerCompressor
Definition: integercompressor.hpp:53
LASreadItemCompressed_RGB12_v2::m_rgb_diff_1
EntropyModel * m_rgb_diff_1
Definition: lasreaditemcompressed_v2.hpp:111
LASreadItemCompressed_POINT10_v2::ic_point_source_ID
IntegerCompressor * ic_point_source_ID
Definition: lasreaditemcompressed_v2.hpp:62


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