Skip to content

Class LASData

ClassList > LASData

Inherits the following classes: LASFile

Inherited by the following classes: AsyncLASData

Public Functions

Type Name
LASData (const Extent2D & bounds, const GeoProjection & projection)
LASData (const GeoGrid< T > & grid)
LASData (const fs::path & filename, ProgressTracker && progress_tracker, bool skip_reading_points=false, std::optional< Extent2D > bounds=std::nullopt, const std::string & override_crs="")
void adopt_points (blaze::memory_tracker::LasVector< LASPoint > && points)
auto begin ()
auto end ()
void extract_borders (const fs::path & tmp_dir, double border_width, ProgressTracker && progress_tracker) const
void insert (const LASPoint & point)
void insert (std::span< const LASPoint > pts)
std::pair< uint16_t, uint16_t > intensity_range () const
std::size_t n_points () const
const LASPoint & operator[] (std::size_t i) const
LASPoint & operator[] (std::size_t i)
std::span< const LASPoint > points () const
void push_back (const LASPoint & point)
void release_points ()
blaze::memory_tracker::LasVector< LASPoint > take_points ()
void write (const fs::path & filename, ProgressTracker && progress_tracker) const

Public Functions inherited from LASFile

See LASFile

Type Name
LASFile (const Extent2D & bounds, GeoProjection && projection)
LASFile (const fs::path & filename, ProgressTracker && progress_tracker, const std::string & override_crs="")
const Extent3D & bounds () const
Extent2D export_bounds () const
std::size_t header_point_count () const
double height () const
std::pair< double, double > height_range () const
Extent2D original_bounds () const
const GeoProjection & projection () const
void set_bounds (const Extent2D & bounds, std::optional< Extent2D > tile_core=std::nullopt)
Coordinate2D< double > top_left () const
double width () const

Public Static Functions

Type Name
LASData with_border (const fs::path & filename, double border_width, const std::vector< std::pair< Extent3D, fs::path > > & all_las_file_extents, ProgressTracker && progress_tracker, const std::string & override_crs="")
LASData with_border (const fs::path & filename, double border_width, ProgressTracker && progress_tracker, const std::string & override_crs="")

Protected Attributes inherited from LASFile

See LASFile

Type Name
Extent3D m_bounds
std::optional< fs::path > m_filename
std::size_t m_header_point_count = 0
Extent3D m_original_bounds
GeoProjection m_projection
laspp::QuadtreeSpatialIndex m_spatial_index

Protected Functions

Type Name
void read_points (laspp::LASReader & reader, ProgressTracker && progress_tracker, std::optional< Extent2D > bounds=std::nullopt)

Protected Functions inherited from LASFile

See LASFile

Type Name
void from_las_reader (const laspp::LASReader & reader, const std::string & override_crs="")

Public Functions Documentation

function LASData [1/3]

inline LASData::LASData (
    const Extent2D & bounds,
    const GeoProjection & projection
) 

function LASData [2/3]

template<typename T>
inline explicit LASData::LASData (
    const GeoGrid < T > & grid
) 

function LASData [3/3]

inline explicit LASData::LASData (
    const fs::path & filename,
    ProgressTracker && progress_tracker,
    bool skip_reading_points=false,
    std::optional< Extent2D > bounds=std::nullopt,
    const std::string & override_crs=""
) 

function adopt_points

inline void LASData::adopt_points (
    blaze::memory_tracker::LasVector< LASPoint > && points
) 

function begin

inline auto LASData::begin () 

function end

inline auto LASData::end () 

function extract_borders

inline void LASData::extract_borders (
    const fs::path & tmp_dir,
    double border_width,
    ProgressTracker && progress_tracker
) const

function insert [1/2]

inline void LASData::insert (
    const LASPoint & point
) 

function insert [2/2]

inline void LASData::insert (
    std::span< const LASPoint > pts
) 

function intensity_range

inline std::pair< uint16_t, uint16_t > LASData::intensity_range () const

function n_points

inline std::size_t LASData::n_points () const

function operator[]

inline const LASPoint & LASData::operator[] (
    std::size_t i
) const

function operator[]

inline LASPoint & LASData::operator[] (
    std::size_t i
) 

function points

inline std::span< const LASPoint > LASData::points () const

function push_back

inline void LASData::push_back (
    const LASPoint & point
) 

function release_points

inline void LASData::release_points () 

function take_points

inline blaze::memory_tracker::LasVector< LASPoint > LASData::take_points () 

function write

inline void LASData::write (
    const fs::path & filename,
    ProgressTracker && progress_tracker
) const

Public Static Functions Documentation

function with_border [1/2]

static inline LASData LASData::with_border (
    const fs::path & filename,
    double border_width,
    const std::vector< std::pair< Extent3D , fs::path > > & all_las_file_extents,
    ProgressTracker && progress_tracker,
    const std::string & override_crs=""
) 

function with_border [2/2]

static inline LASData LASData::with_border (
    const fs::path & filename,
    double border_width,
    ProgressTracker && progress_tracker,
    const std::string & override_crs=""
) 

Protected Functions Documentation

function read_points

inline void LASData::read_points (
    laspp::LASReader & reader,
    ProgressTracker && progress_tracker,
    std::optional< Extent2D > bounds=std::nullopt
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/las/las_file.hpp