Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
LASzip Class Reference

#include <laszip.hpp>

Public Member Functions

bool check ()
 
bool check_coder (const unsigned short coder)
 
bool check_compressor (const unsigned short compressor)
 
bool check_item (const LASitem *item)
 
bool check_items (const unsigned short num_items, const LASitem *items)
 
const char * get_error () const
 
bool is_standard (const unsigned short num_items, const LASitem *items, unsigned char *point_type=0, unsigned short *record_length=0)
 
bool is_standard (unsigned char *point_type=0, unsigned short *record_length=0)
 
 LASzip ()
 
bool pack (unsigned char *&bytes, int &num)
 
bool request_version (const unsigned short requested_version)
 
bool set_chunk_size (const unsigned int chunk_size)
 
bool setup (unsigned short *num_items, LASitem **items, const unsigned char point_type, const unsigned short point_size, const unsigned short compressor=LASZIP_COMPRESSOR_NONE)
 
bool setup (const unsigned char point_type, const unsigned short point_size, const unsigned short compressor=LASZIP_COMPRESSOR_DEFAULT)
 
bool setup (const unsigned short num_items, const LASitem *items, const unsigned short compressor)
 
bool unpack (const unsigned char *bytes, const int num)
 
 ~LASzip ()
 

Public Attributes

unsigned char * bytes
 
unsigned int chunk_size
 
unsigned short coder
 
unsigned short compressor
 
LASitemitems
 
SIGNED_INT64 num_bytes
 
unsigned short num_items
 
SIGNED_INT64 num_points
 
unsigned int options
 
unsigned char version_major
 
unsigned char version_minor
 
unsigned short version_revision
 

Private Member Functions

bool return_error (const char *err)
 

Private Attributes

char * error_string
 

Detailed Description

Definition at line 80 of file laszip.hpp.

Constructor & Destructor Documentation

◆ LASzip()

LASzip::LASzip ( )

Definition at line 39 of file laszip.cpp.

◆ ~LASzip()

LASzip::~LASzip ( )

Definition at line 56 of file laszip.cpp.

Member Function Documentation

◆ check()

bool LASzip::check ( )

Definition at line 267 of file laszip.cpp.

◆ check_coder()

bool LASzip::check_coder ( const unsigned short  coder)

Definition at line 204 of file laszip.cpp.

◆ check_compressor()

bool LASzip::check_compressor ( const unsigned short  compressor)

Definition at line 196 of file laszip.cpp.

◆ check_item()

bool LASzip::check_item ( const LASitem item)

Definition at line 212 of file laszip.cpp.

◆ check_items()

bool LASzip::check_items ( const unsigned short  num_items,
const LASitem items 
)

Definition at line 255 of file laszip.cpp.

◆ get_error()

const char * LASzip::get_error ( ) const

Definition at line 182 of file laszip.cpp.

◆ is_standard() [1/2]

bool LASzip::is_standard ( const unsigned short  num_items,
const LASitem items,
unsigned char *  point_type = 0,
unsigned short *  record_length = 0 
)

Definition at line 511 of file laszip.cpp.

◆ is_standard() [2/2]

bool LASzip::is_standard ( unsigned char *  point_type = 0,
unsigned short *  record_length = 0 
)

Definition at line 506 of file laszip.cpp.

◆ pack()

bool LASzip::pack ( unsigned char *&  bytes,
int &  num 
)

Definition at line 136 of file laszip.cpp.

◆ request_version()

bool LASzip::request_version ( const unsigned short  requested_version)

Definition at line 473 of file laszip.cpp.

◆ return_error()

bool LASzip::return_error ( const char *  err)
private

Definition at line 187 of file laszip.cpp.

◆ set_chunk_size()

bool LASzip::set_chunk_size ( const unsigned int  chunk_size)

Definition at line 462 of file laszip.cpp.

◆ setup() [1/3]

bool LASzip::setup ( unsigned short *  num_items,
LASitem **  items,
const unsigned char  point_type,
const unsigned short  point_size,
const unsigned short  compressor = LASZIP_COMPRESSOR_NONE 
)

Definition at line 320 of file laszip.cpp.

◆ setup() [2/3]

bool LASzip::setup ( const unsigned char  point_type,
const unsigned short  point_size,
const unsigned short  compressor = LASZIP_COMPRESSOR_DEFAULT 
)

Definition at line 275 of file laszip.cpp.

◆ setup() [3/3]

bool LASzip::setup ( const unsigned short  num_items,
const LASitem items,
const unsigned short  compressor 
)

Definition at line 290 of file laszip.cpp.

◆ unpack()

bool LASzip::unpack ( const unsigned char *  bytes,
const int  num 
)

Definition at line 80 of file laszip.cpp.

Member Data Documentation

◆ bytes

unsigned char* LASzip::bytes

Definition at line 97 of file laszip.hpp.

◆ chunk_size

unsigned int LASzip::chunk_size

Definition at line 117 of file laszip.hpp.

◆ coder

unsigned short LASzip::coder

Definition at line 112 of file laszip.hpp.

◆ compressor

unsigned short LASzip::compressor

Definition at line 111 of file laszip.hpp.

◆ error_string

char* LASzip::error_string
private

Definition at line 128 of file laszip.hpp.

◆ items

LASitem* LASzip::items

Definition at line 121 of file laszip.hpp.

◆ num_bytes

SIGNED_INT64 LASzip::num_bytes

Definition at line 119 of file laszip.hpp.

◆ num_items

unsigned short LASzip::num_items

Definition at line 120 of file laszip.hpp.

◆ num_points

SIGNED_INT64 LASzip::num_points

Definition at line 118 of file laszip.hpp.

◆ options

unsigned int LASzip::options

Definition at line 116 of file laszip.hpp.

◆ version_major

unsigned char LASzip::version_major

Definition at line 113 of file laszip.hpp.

◆ version_minor

unsigned char LASzip::version_minor

Definition at line 114 of file laszip.hpp.

◆ version_revision

unsigned short LASzip::version_revision

Definition at line 115 of file laszip.hpp.


The documentation for this class was generated from the following files:


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:10