Go to the documentation of this file.
   50     fprintf(stderr,
"ERROR: fine name pointer is zero\n");
 
   54   file = fopen(file_name, 
"rb");
 
   57     fprintf(stderr, 
"ERROR: cannot open file '%s'\n", file_name);
 
   61   if (setvbuf(
file, 
NULL, _IOFBF, io_buffer_size) != 0)
 
   63     fprintf(stderr, 
"WARNING: setvbuf() failed with buffer size %u\n", io_buffer_size);
 
   80     fprintf(stderr,
"ERROR: file pointer is zero\n");
 
   87     if(_setmode( _fileno( stdin ), _O_BINARY ) == -1 )
 
   89       fprintf(stderr, 
"ERROR: cannot set stdin to binary (untranslated) mode\n");
 
  123     fprintf(stderr,
"ERROR: ByteStreamIn* pointer is zero\n");
 
  137     fprintf(stderr,
"ERROR: reading header.file_signature\n");
 
  142     fprintf(stderr,
"ERROR: reading header.file_source_id\n");
 
  147     fprintf(stderr,
"ERROR: reading header.global_encoding\n");
 
  152     fprintf(stderr,
"ERROR: reading header.project_ID_GUID_data_1\n");
 
  157     fprintf(stderr,
"ERROR: reading header.project_ID_GUID_data_2\n");
 
  162     fprintf(stderr,
"ERROR: reading header.project_ID_GUID_data_3\n");
 
  167     fprintf(stderr,
"ERROR: reading header.project_ID_GUID_data_4\n");
 
  172     fprintf(stderr,
"ERROR: reading header.version_major\n");
 
  177     fprintf(stderr,
"ERROR: reading header.version_minor\n");
 
  182     fprintf(stderr,
"ERROR: reading header.system_identifier\n");
 
  187     fprintf(stderr,
"ERROR: reading header.generating_software\n");
 
  192     fprintf(stderr,
"ERROR: reading header.file_creation_day\n");
 
  197     fprintf(stderr,
"ERROR: reading header.file_creation_year\n");
 
  202     fprintf(stderr,
"ERROR: reading header.header_size\n");
 
  207     fprintf(stderr,
"ERROR: reading header.offset_to_point_data\n");
 
  212     fprintf(stderr,
"ERROR: reading header.number_of_variable_length_records\n");
 
  217     fprintf(stderr,
"ERROR: reading header.point_data_format\n");
 
  222     fprintf(stderr,
"ERROR: reading header.point_data_record_length\n");
 
  227     fprintf(stderr,
"ERROR: reading header.number_of_point_records\n");
 
  230   for (i = 0; i < 5; i++)
 
  234       fprintf(stderr,
"ERROR: reading header.number_of_points_by_return %d\n", i);
 
  240     fprintf(stderr,
"ERROR: reading header.x_scale_factor\n");
 
  245     fprintf(stderr,
"ERROR: reading header.y_scale_factor\n");
 
  250     fprintf(stderr,
"ERROR: reading header.z_scale_factor\n");
 
  255     fprintf(stderr,
"ERROR: reading header.x_offset\n");
 
  260     fprintf(stderr,
"ERROR: reading header.y_offset\n");
 
  265     fprintf(stderr,
"ERROR: reading header.z_offset\n");
 
  270     fprintf(stderr,
"ERROR: reading header.max_x\n");
 
  275     fprintf(stderr,
"ERROR: reading header.min_x\n");
 
  280     fprintf(stderr,
"ERROR: reading header.max_y\n");
 
  285     fprintf(stderr,
"ERROR: reading header.min_y\n");
 
  290     fprintf(stderr,
"ERROR: reading header.max_z\n");
 
  295     fprintf(stderr,
"ERROR: reading header.min_z\n");
 
  311         fprintf(stderr,
"ERROR: reading header.start_of_waveform_data_packet_record\n");
 
  334         fprintf(stderr,
"ERROR: reading header.start_of_first_extended_variable_length_record\n");
 
  339         fprintf(stderr,
"ERROR: reading header.number_of_extended_variable_length_records\n");
 
  344         fprintf(stderr,
"ERROR: reading header.extended_number_of_point_records\n");
 
  354       for (i = 0; i < 15; i++)
 
  358           fprintf(stderr,
"ERROR: reading header.extended_number_of_points_by_return[%d]\n", i);
 
  421         fprintf(stderr,
"ERROR: reading header.vlrs[%d].reserved\n", i);
 
  427         fprintf(stderr,
"ERROR: reading header.vlrs[%d].user_id\n", i);
 
  432         fprintf(stderr,
"ERROR: reading header.vlrs[%d].record_id\n", i);
 
  437         fprintf(stderr,
"ERROR: reading header.vlrs[%d].record_length_after_header\n", i);
 
  442         fprintf(stderr,
"ERROR: reading header.vlrs[%d].description\n", i);
 
  542             U16 type, size, version;
 
  545               fprintf(stderr,
"ERROR: reading type %d of item %d\n", type, j);
 
  550               fprintf(stderr,
"ERROR: reading size %d of item %d\n", size, j);
 
  555               fprintf(stderr,
"ERROR: reading version %d of item %d\n", version, j);
 
  650             fprintf(stderr,
"WARNING: variable length records contain more than one GeoKeyDirectoryTag\n");
 
  674             fprintf(stderr,
"WARNING: variable length records contain more than one GeoF64ParamsTag\n");
 
  682             fprintf(stderr,
"WARNING: variable length records contain more than one GeoAsciiParamsTag\n");
 
  693             fprintf(stderr,
"WARNING: variable length records contain more than one ClassificationLookup\n");
 
  718             fprintf(stderr,
"WARNING: variable length records defines wave packet descr %d more than once\n", idx);
 
  739       fprintf(stderr,
"       please upgrade to the latest release of LAStools (with LASzip)\n");
 
  740       fprintf(stderr,
"       or contact 'martin.isenburg@gmail.com' for assistance.\n");
 
  765       fprintf(stderr,
"ERROR: this file was compressed with an experimental version of laszip\n");
 
  766       fprintf(stderr,
"ERROR: please contact 'martin.isenburg@gmail.com' for assistance.\n");
 
  929   this->
offset[0] = x_offset;
 
  930   this->
offset[1] = y_offset;
 
  931   this->
offset[2] = z_offset;
 
  981 LASreaderLASrescalereoffset::LASreaderLASrescalereoffset(
F64 x_scale_factor, 
F64 y_scale_factor, 
F64 z_scale_factor, 
F64 x_offset, 
F64 y_offset, 
F64 z_offset) : 
LASreaderLASrescale(x_scale_factor, y_scale_factor, z_scale_factor), 
LASreaderLASreoffset(x_offset, y_offset, z_offset)
 
  
#define LASZIP_COMPRESSOR_NONE
BOOL seek(const U32 current, const U32 target)
LASreaderLASrescalereoffset(F64 x_scale_factor, F64 y_scale_factor, F64 z_scale_factor, F64 x_offset, F64 y_offset, F64 z_offset)
BOOL read_point_default()
unsigned short version_revision
virtual BOOL read_point_default()
#define LAS_TOOLS_FORMAT_LAS
BOOL open(const char *file_name, U32 io_buffer_size=65536)
BOOL open(ByteStreamIn *stream)
virtual void get64bitsLE(U8 *bytes)=0
ByteStreamIn * get_stream() const
unsigned char version_major
BOOL setup(const U32 num_items, const LASitem *items, const LASzip *laszip=0)
BOOL seek(const I64 p_index)
unsigned short compressor
virtual BOOL read_point_default()
virtual void get16bitsLE(U8 *bytes)=0
unsigned char version_minor
LASreaderLASrescale(F64 x_scale_factor, F64 y_scale_factor, F64 z_scale_factor)
virtual void get32bitsLE(U8 *bytes)=0
LASreaderLASreoffset(F64 x_offset, F64 y_offset, F64 z_offset)
BOOL read(U8 *const *point)
virtual BOOL open(ByteStreamIn *stream)
U16 record_length_after_header
U16 key_directory_version
virtual BOOL open(ByteStreamIn *stream)
void close(BOOL close_stream=TRUE)
virtual BOOL read_point_default()
BOOL init(ByteStreamIn *instream)
BOOL init_extra_attributes(U32 number_extra_attributes, LASattribute *extra_attributes)
BOOL init(const LASquantizer *quantizer, const U8 point_type, const U16 point_size, const LASattributer *attributer=0)
#define LAS_TOOLS_FORMAT_LAZ
const char * get_error() const
virtual void getBytes(U8 *bytes, const U32 num_bytes)=0
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