Go to the documentation of this file.
47 fprintf(stderr,
"ERROR: fine name pointer is zero\n");
53 file = fopen(file_name,
"rb");
56 fprintf(stderr,
"ERROR: cannot open file '%s'\n", file_name);
79 geo_keys[0].
count = 1;
85 geo_keys[1].
count = 1;
91 geo_keys[2].
count = 1;
97 geo_keys[3].
count = 1;
105 WIN32_FILE_ATTRIBUTE_DATA attr;
107 GetFileAttributesEx(file_name, GetFileExInfoStandard, &attr);
108 FileTimeToSystemTime(&attr.ftCreationTime, &creation);
109 int startday[13] = {-1, 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334};
128 fprintf(stderr,
"ERROR: ByteStreamIn* pointer is zero\n");
138 fprintf(stderr,
"ERROR: reading QFIT header\n");
159 fprintf(stderr,
"ERROR: corrupt QFIT header.\n");
168 fprintf(stderr,
"ERROR: reading %d bytes until point start offset from QFIT header\n",
version);
176 fprintf(stderr,
"ERROR: reading point start offset from QFIT header\n");
191 for (i = 0; i < 32; i++)
384 fprintf(stderr,
"ERROR: fine name pointer is zero\n");
390 file = fopen(file_name,
"rb");
393 fprintf(stderr,
"ERROR: cannot open file '%s'\n", file_name);
457 this->
offset[0] = x_offset;
458 this->
offset[1] = y_offset;
459 this->
offset[2] = z_offset;
481 LASreaderQFITrescalereoffset::LASreaderQFITrescalereoffset(
F64 x_scale_factor,
F64 y_scale_factor,
F64 z_scale_factor,
F64 x_offset,
F64 y_offset,
F64 z_offset) :
LASreaderQFITrescale(x_scale_factor, y_scale_factor, z_scale_factor),
LASreaderQFITreoffset(x_offset, y_offset, z_offset)
virtual I64 tell() const =0
virtual void get32bitsBE(U8 *bytes)=0
LASreaderQFITrescalereoffset(F64 x_scale_factor, F64 y_scale_factor, F64 z_scale_factor, F64 x_offset, F64 y_offset, F64 z_offset)
virtual BOOL seekEnd(const I64 distance=0)=0
void set_min(U8 *min, I32 dim=0)
I32 get_extra_attribute_array_offset(const char *name) const
virtual BOOL open(ByteStreamIn *stream)
virtual BOOL open(ByteStreamIn *stream)
BOOL read_point_default()
BOOL open(ByteStreamIn *stream)
BOOL reopen(const char *file_name)
void set_max(U8 *max, I32 dim=0)
virtual BOOL seek(const I64 position)=0
void close(BOOL close_stream=TRUE)
BOOL seek(const I64 p_index)
virtual void get32bitsLE(U8 *bytes)=0
I32 add_extra_attribute(const LASattribute extra_attribute)
void set_extra_attribute(I32 index, const U8 *data)
LASreaderQFITrescale(F64 x_scale_factor, F64 y_scale_factor, F64 z_scale_factor)
const LASattributer * attributer
BOOL set_scale(F64 scale, I32 dim=0)
void ENDIAN_SWAP_32(U8 *field)
#define LAS_ATTRIBUTE_I32
I32 pulse_width_array_offset
#define LAS_TOOLS_VERSION
ByteStreamIn * get_stream() const
BOOL init(const LASquantizer *quantizer, const U8 point_type, const U16 point_size, const LASattributer *attributer=0)
BOOL open(const char *file_name)
LASreaderQFITreoffset(F64 x_offset, F64 y_offset, F64 z_offset)
I16 get_total_extra_attributes_size() const
void compute_coordinates()
virtual void getBytes(U8 *bytes, const U32 num_bytes)=0
I32 scan_azimuth_array_offset
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