laszip.hpp | laszip.hpp | |||
---|---|---|---|---|
skipping to change at line 28 | skipping to change at line 28 | |||
This is free software; you can redistribute and/or modify it under the | This is free software; you can redistribute and/or modify it under the | |||
terms of the GNU Lesser General Licence as published by the Free Softwa re | terms of the GNU Lesser General Licence as published by the Free Softwa re | |||
Foundation. See the COPYING file for more information. | Foundation. See the COPYING file for more information. | |||
This software is distributed WITHOUT ANY WARRANTY and without even the | This software is distributed WITHOUT ANY WARRANTY and without even the | |||
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . | |||
CHANGE HISTORY: | CHANGE HISTORY: | |||
6 October 2011 -- large file support, ability to read with missing chun k table | ||||
23 June 2011 -- turned on LASzip version 2.0 compressor with chunking | 23 June 2011 -- turned on LASzip version 2.0 compressor with chunking | |||
8 May 2011 -- added an option for variable chunking via chunk() | 8 May 2011 -- added an option for variable chunking via chunk() | |||
23 April 2011 -- changed interface for simplicity and chunking support | 23 April 2011 -- changed interface for simplicity and chunking support | |||
20 March 2011 -- incrementing LASZIP_VERSION to 1.2 for improved compre ssion | 20 March 2011 -- incrementing LASZIP_VERSION to 1.2 for improved compre ssion | |||
10 January 2011 -- licensing change for LGPL release and liblas integra tion | 10 January 2011 -- licensing change for LGPL release and liblas integra tion | |||
12 December 2010 -- refactored from lasdefinitions after movies with si lke | 12 December 2010 -- refactored from lasdefinitions after movies with si lke | |||
=========================================================================== ==== | =========================================================================== ==== | |||
*/ | */ | |||
#ifndef LASZIP_HPP | #ifndef LASZIP_HPP | |||
#define LASZIP_HPP | #define LASZIP_HPP | |||
#if defined(_MSC_VER) && (_MSC_VER < 1300) | #if defined(_MSC_VER) && (_MSC_VER < 1300) | |||
#define LZ_WIN32_VC6 | #define LZ_WIN32_VC6 | |||
typedef __int64 SIGNED_INT64; | typedef __int64 SIGNED_INT64; | |||
#else | #else | |||
typedef long long SIGNED_INT64; | typedef long long SIGNED_INT64; | |||
#endif | #endif | |||
#if defined(_MSC_VER) && \ | ||||
(_MSC_FULL_VER >= 150000000) | ||||
#define LASCopyString _strdup | ||||
#else | ||||
#define LASCopyString strdup | ||||
#endif | ||||
#define LASZIP_VERSION_MAJOR 2 | #define LASZIP_VERSION_MAJOR 2 | |||
#define LASZIP_VERSION_MINOR 0 | #define LASZIP_VERSION_MINOR 0 | |||
#define LASZIP_VERSION_REVISION 1 | #define LASZIP_VERSION_REVISION 2 | |||
#define LASZIP_COMPRESSOR_NONE 0 | #define LASZIP_COMPRESSOR_NONE 0 | |||
#define LASZIP_COMPRESSOR_POINTWISE 1 | #define LASZIP_COMPRESSOR_POINTWISE 1 | |||
#define LASZIP_COMPRESSOR_POINTWISE_CHUNKED 2 | #define LASZIP_COMPRESSOR_POINTWISE_CHUNKED 2 | |||
#define LASZIP_COMPRESSOR_TOTAL_NUMBER_OF 3 | #define LASZIP_COMPRESSOR_TOTAL_NUMBER_OF 3 | |||
#define LASZIP_COMPRESSOR_CHUNKED LASZIP_COMPRESSOR_POINTWISE_CHUNKED | #define LASZIP_COMPRESSOR_CHUNKED LASZIP_COMPRESSOR_POINTWISE_CHUNKED | |||
#define LASZIP_COMPRESSOR_NOT_CHUNKED LASZIP_COMPRESSOR_POINTWISE | #define LASZIP_COMPRESSOR_NOT_CHUNKED LASZIP_COMPRESSOR_POINTWISE | |||
#define LASZIP_COMPRESSOR_DEFAULT LASZIP_COMPRESSOR_CHUNKED | #define LASZIP_COMPRESSOR_DEFAULT LASZIP_COMPRESSOR_CHUNKED | |||
#define LASZIP_CODER_ARITHMETIC 0 | #define LASZIP_CODER_ARITHMETIC 0 | |||
#define LASZIP_CODER_TOTAL_NUMBER_OF 1 | #define LASZIP_CODER_TOTAL_NUMBER_OF 1 | |||
#define LASZIP_CHUNK_SIZE_DEFAULT 50000 | #define LASZIP_CHUNK_SIZE_DEFAULT 50000 | |||
#include "laszipexport.hpp" | #include "laszipexport.hpp" | |||
class LASZIP_DLL LASitem | class LASitem | |||
{ | { | |||
public: | public: | |||
enum Type { BYTE = 0, SHORT, INT, LONG, FLOAT, DOUBLE, POINT10, GPSTIME11 , RGB12, WAVEPACKET13 } type; | enum Type { BYTE = 0, SHORT, INT, LONG, FLOAT, DOUBLE, POINT10, GPSTIME11 , RGB12, WAVEPACKET13 } type; | |||
unsigned short size; | unsigned short size; | |||
unsigned short version; | unsigned short version; | |||
bool is_type(LASitem::Type t) const; | bool is_type(LASitem::Type t) const; | |||
const char* get_name() const; | const char* get_name() const; | |||
}; | }; | |||
class LASZIP_DLL LASzip | class LASZIP_DLL LASzip | |||
End of changes. 4 change blocks. | ||||
2 lines changed or deleted | 10 lines changed or added | |||