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

#include <lasreader_shp.hpp>

Inheritance diagram for LASreaderSHP:
Inheritance graph
[legend]

Public Member Functions

void close (BOOL close_stream=TRUE)
 
I32 get_format () const
 
ByteStreamInget_stream () const
 
 LASreaderSHP ()
 
virtual BOOL open (const char *file_name)
 
BOOL reopen (const char *file_name)
 
BOOL seek (const I64 p_index)
 
void set_offset (const F64 *offset)
 
void set_scale_factor (const F64 *scale_factor)
 
virtual ~LASreaderSHP ()
 
- Public Member Functions inherited from LASreader
void compute_coordinates ()
 
LASindexget_index () const
 
F64 get_max_x () const
 
F64 get_max_y () const
 
F64 get_max_z () const
 
F64 get_min_x () const
 
F64 get_min_y () const
 
F64 get_min_z () const
 
F64 get_x () const
 
I32 get_x (const F64 x) const
 
F64 get_x (const I32 x) const
 
F64 get_y () const
 
I32 get_y (const F64 y) const
 
F64 get_y (const I32 y) const
 
F64 get_z () const
 
I32 get_z (const F64 z) const
 
F64 get_z (const I32 z) const
 
virtual BOOL inside_circle (const F64 center_x, const F64 center_y, const F64 radius)
 
virtual BOOL inside_rectangle (const F64 min_x, const F64 min_y, const F64 max_x, const F64 max_y)
 
virtual BOOL inside_tile (const F32 ll_x, const F32 ll_y, const F32 size)
 
 LASreader ()
 
BOOL read_point ()
 
void reset_filter ()
 
virtual void set_filter (LASfilter *filter)
 
void set_index (LASindex *index)
 
virtual void set_transform (LAStransform *transform)
 
void use_alternate_reader ()
 
void use_default_reader ()
 
virtual ~LASreader ()
 

Protected Member Functions

BOOL read_point_default ()
 
- Protected Member Functions inherited from LASreader
virtual BOOL read_point_alternate ()
 

Private Member Functions

void clean ()
 
void populate_bounding_box ()
 
void populate_scale_and_offset ()
 

Private Attributes

FILE * file
 
I32 number_of_points
 
F64offset
 
bool piped
 
I32 point_count
 
I32points
 
I32 points_allocated
 
F64scale_factor
 
I32 shape_type
 

Additional Inherited Members

- Public Attributes inherited from LASreader
LASheader header
 
I64 npoints
 
I64 p_count
 
LASpoint point
 
- Protected Attributes inherited from LASreader
F64 c_center_x
 
F64 c_center_y
 
F64 c_radius
 
F64 c_radius_squared
 
LASfilterfilter
 
LASindexindex
 
F64 r_max_x
 
F64 r_max_y
 
F64 r_min_x
 
F64 r_min_y
 
F32 t_ll_x
 
F32 t_ll_y
 
F32 t_size
 
F32 t_ur_x
 
F32 t_ur_y
 
LAStransformtransform
 

Detailed Description

Definition at line 38 of file lasreader_shp.hpp.

Constructor & Destructor Documentation

◆ LASreaderSHP()

LASreaderSHP::LASreaderSHP ( )

Definition at line 473 of file lasreader_shp.cpp.

◆ ~LASreaderSHP()

LASreaderSHP::~LASreaderSHP ( )
virtual

Definition at line 488 of file lasreader_shp.cpp.

Member Function Documentation

◆ clean()

void LASreaderSHP::clean ( )
private

Definition at line 461 of file lasreader_shp.cpp.

◆ close()

void LASreaderSHP::close ( BOOL  close_stream = TRUE)
virtual

Implements LASreader.

Definition at line 409 of file lasreader_shp.cpp.

◆ get_format()

I32 LASreaderSHP::get_format ( ) const
inlinevirtual

Implements LASreader.

Definition at line 46 of file lasreader_shp.hpp.

◆ get_stream()

ByteStreamIn * LASreaderSHP::get_stream ( ) const
virtual

Implements LASreader.

Definition at line 404 of file lasreader_shp.cpp.

◆ open()

BOOL LASreaderSHP::open ( const char *  file_name)
virtual

Reimplemented in LASreaderSHPrescalereoffset, LASreaderSHPreoffset, and LASreaderSHPrescale.

Definition at line 104 of file lasreader_shp.cpp.

◆ populate_bounding_box()

void LASreaderSHP::populate_bounding_box ( )
private

Definition at line 556 of file lasreader_shp.cpp.

◆ populate_scale_and_offset()

void LASreaderSHP::populate_scale_and_offset ( )
private

Definition at line 508 of file lasreader_shp.cpp.

◆ read_point_default()

BOOL LASreaderSHP::read_point_default ( )
protectedvirtual

Implements LASreader.

Definition at line 294 of file lasreader_shp.cpp.

◆ reopen()

BOOL LASreaderSHP::reopen ( const char *  file_name)

Definition at line 419 of file lasreader_shp.cpp.

◆ seek()

BOOL LASreaderSHP::seek ( const I64  p_index)
virtual

Implements LASreader.

Definition at line 289 of file lasreader_shp.cpp.

◆ set_offset()

void LASreaderSHP::set_offset ( const F64 offset)

Definition at line 273 of file lasreader_shp.cpp.

◆ set_scale_factor()

void LASreaderSHP::set_scale_factor ( const F64 scale_factor)

Definition at line 257 of file lasreader_shp.cpp.

Member Data Documentation

◆ file

FILE* LASreaderSHP::file
private

Definition at line 63 of file lasreader_shp.hpp.

◆ number_of_points

I32 LASreaderSHP::number_of_points
private

Definition at line 67 of file lasreader_shp.hpp.

◆ offset

F64* LASreaderSHP::offset
private

Definition at line 62 of file lasreader_shp.hpp.

◆ piped

bool LASreaderSHP::piped
private

Definition at line 69 of file lasreader_shp.hpp.

◆ point_count

I32 LASreaderSHP::point_count
private

Definition at line 68 of file lasreader_shp.hpp.

◆ points

I32* LASreaderSHP::points
private

Definition at line 65 of file lasreader_shp.hpp.

◆ points_allocated

I32 LASreaderSHP::points_allocated
private

Definition at line 66 of file lasreader_shp.hpp.

◆ scale_factor

F64* LASreaderSHP::scale_factor
private

Definition at line 61 of file lasreader_shp.hpp.

◆ shape_type

I32 LASreaderSHP::shape_type
private

Definition at line 64 of file lasreader_shp.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 Wed Mar 2 2022 00:37:26