39 #ifndef LAS_READER_HPP 40 #define LAS_READER_HPP 136 const char* get_file_name()
const;
137 void set_file_name(
const char* file_name,
BOOL unique=
FALSE);
138 BOOL add_file_name(
const char* file_name,
BOOL unique=
FALSE);
139 void delete_file_name(
U32 file_name_id);
140 BOOL set_file_name_current(
U32 file_name_id);
141 U32 get_file_name_number()
const;
142 const char* get_file_name(
U32 number)
const;
143 I32 get_file_format(
U32 number)
const;
144 void set_merged(
const BOOL merged);
145 BOOL get_merged()
const;
146 void set_scale_factor(
const F64* scale_factor);
147 void set_offset(
const F64* offset);
148 void set_translate_intensity(
F32 translate_intensity);
149 void set_scale_intensity(
F32 scale_intensity);
150 void set_translate_scan_angle(
F32 translate_scan_angle);
151 void set_scale_scan_angle(
F32 scale_scan_angle);
152 void add_extra_attribute(
I32 data_type,
const char* name,
const char* description=0,
F64 scale=1.0,
F64 offset=0.0);
153 void set_parse_string(
const char* parse_string);
154 void set_skip_lines(
I32 skip_lines);
155 void set_populate_header(
BOOL populate_header);
156 const char* get_parse_string()
const;
160 BOOL has_populated_header()
const;
172 void add_file_name_windows(
const char* file_name,
BOOL unique=
FALSE);
188 I32 extra_attribute_data_types[10];
189 char* extra_attribute_names[10];
190 char* extra_attribute_descriptions[10];
191 F64 extra_attribute_scales[10];
192 F64 extra_attribute_offsets[10];
virtual BOOL inside_circle(const F64 center_x, const F64 center_y, const F64 radius)
virtual void close(BOOL close_stream=TRUE)=0
virtual ByteStreamIn * get_stream() const =0
BOOL read_point_inside_tile()
BOOL(LASreader::* read_complex)()
I32 get_x(const F64 x) const
F64 get_z(const I32 z) const
BOOL read_point_inside_circle()
F64 get_y(const I32 y) const
virtual BOOL inside_tile(const F32 ll_x, const F32 ll_y, const F32 size)
void compute_coordinates()
virtual BOOL seek(const I64 p_index)=0
const LAStransform * get_transform()
BOOL read_point_inside_tile_indexed()
I32 number_extra_attributes
void use_alternate_reader()
virtual BOOL read_point_default()=0
F64 get_x(const I32 x) const
const LASfilter * get_filter()
virtual BOOL inside_rectangle(const F64 min_x, const F64 min_y, const F64 max_x, const F64 max_y)
F64 get_y(const I32 y) const
void compute_coordinates()
void use_default_reader()
virtual I32 get_format() const =0
I32 get_z(const F64 z) const
I32 get_y(const F64 y) const
virtual void set_filter(LASfilter *filter)
BOOL read_point_inside_rectangle()
F64 get_z(const I32 z) const
void set_index(LASindex *index)
BOOL read_point_filtered_and_transformed()
BOOL read_point_filtered()
BOOL read_point_transformed()
LASindex * get_index() const
virtual BOOL read_point_alternate()
std::shared_ptr< HighFive::File > open(const std::string &filename)
F64 get_x(const I32 x) const
BOOL read_point_inside_rectangle_indexed()
virtual void set_transform(LAStransform *transform)
BOOL read_point_inside_circle_indexed()
BOOL(LASreader::* read_simple)()