lasreaditemcompressed_v1.hpp
Go to the documentation of this file.
1 /*
2 ===============================================================================
3 
4  FILE: lasreaditemcompressed_v1.hpp
5 
6  CONTENTS:
7 
8  Implementation of LASitemReadCompressed for *all* items (version 1).
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  10 January 2011 -- licensing change for LGPL release and liblas integration
28  7 December 2010 -- refactored after getting invited to KAUST in Saudi Arabia
29 
30 ===============================================================================
31 */
32 #ifndef LAS_READ_ITEM_COMPRESSED_V1_H
33 #define LAS_READ_ITEM_COMPRESSED_V1_H
34 
35 #include "lasreaditem.hpp"
36 #include "entropydecoder.hpp"
37 #include "integercompressor.hpp"
38 
40 {
41 public:
42 
44 
45  BOOL init(const U8* item);
46  void read(U8* item);
47 
49 
50 private:
53 
63  EntropyModel* m_changed_values;
64  EntropyModel* m_bit_byte[256];
65  EntropyModel* m_classification[256];
66  EntropyModel* m_user_data[256];
67 };
68 
70 {
71 public:
72 
74 
75  BOOL init(const U8* item);
76  void read(U8* item);
77 
79 
80 private:
83 
84  EntropyModel* m_gpstime_multi;
85  EntropyModel* m_gpstime_0diff;
89 };
90 
92 {
93 public:
94 
96 
97  BOOL init(const U8* item);
98  void read(U8* item);
99 
101 
102 private:
105 
106  EntropyModel* m_byte_used;
108 };
109 
111 {
112 public:
113 
115 
116  BOOL init(const U8* item);
117  void read(U8* item);
118 
120 
121 private:
124 
127  EntropyModel* m_packet_index;
128  EntropyModel* m_offset_diff[4];
133 };
134 
136 {
137 public:
138 
140 
141  BOOL init(const U8* item);
142  void read(U8* item);
143 
145 
146 private:
150 
152 };
153 
154 #endif
int BOOL
Definition: mydefs.hpp:57
unsigned int U32
Definition: mydefs.hpp:39
unsigned char U8
Definition: mydefs.hpp:41
int I32
Definition: mydefs.hpp:35
LASreadItemCompressed_POINT10_v1(EntropyDecoder *dec)


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