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

#include <lasindex.hpp>

Public Member Functions

BOOL add (const LASpoint *point, const U32 index)
 
void complete (U32 minimum_points=100000, I32 maximum_intervals=-1)
 
LASintervalget_interval () const
 
BOOL get_intervals ()
 
LASspatialget_spatial () const
 
BOOL has_intervals ()
 
BOOL intersect_circle (const F64 center_x, const F64 center_y, const F64 radius)
 
BOOL intersect_rectangle (const F64 r_min_x, const F64 r_min_y, const F64 r_max_x, const F64 r_max_y)
 
BOOL intersect_tile (const F32 ll_x, const F32 ll_y, const F32 size)
 
 LASindex ()
 
void prepare (LASspatial *spatial, I32 threshold=1000)
 
void print (BOOL verbose)
 
BOOL read (ByteStreamIn *stream)
 
BOOL read (const char *file_name)
 
BOOL read_next (LASreader *lasreader)
 
BOOL seek_next (LASreader *lasreader)
 
BOOL write (ByteStreamOut *stream) const
 
BOOL write (const char *file_name) const
 
 ~LASindex ()
 

Public Attributes

U32 cells
 
U32 end
 
U32 full
 
U32 start
 
U32 total
 

Private Member Functions

BOOL merge_intervals ()
 

Private Attributes

BOOL have_interval
 
LASintervalinterval
 
LASspatialspatial
 

Detailed Description

Definition at line 45 of file lasindex.hpp.

Constructor & Destructor Documentation

◆ LASindex()

LASindex::LASindex ( )

Definition at line 58 of file lasindex.cpp.

◆ ~LASindex()

LASindex::~LASindex ( )

Definition at line 70 of file lasindex.cpp.

Member Function Documentation

◆ add()

BOOL LASindex::add ( const LASpoint point,
const U32  index 
)

Definition at line 84 of file lasindex.cpp.

◆ complete()

void LASindex::complete ( U32  minimum_points = 100000,
I32  maximum_intervals = -1 
)

Definition at line 90 of file lasindex.cpp.

◆ get_interval()

LASinterval * LASindex::get_interval ( ) const

Definition at line 212 of file lasindex.cpp.

◆ get_intervals()

BOOL LASindex::get_intervals ( )

Definition at line 247 of file lasindex.cpp.

◆ get_spatial()

LASspatial * LASindex::get_spatial ( ) const

Definition at line 207 of file lasindex.cpp.

◆ has_intervals()

BOOL LASindex::has_intervals ( )

Definition at line 253 of file lasindex.cpp.

◆ intersect_circle()

BOOL LASindex::intersect_circle ( const F64  center_x,
const F64  center_y,
const F64  radius 
)

Definition at line 237 of file lasindex.cpp.

◆ intersect_rectangle()

BOOL LASindex::intersect_rectangle ( const F64  r_min_x,
const F64  r_min_y,
const F64  r_max_x,
const F64  r_max_y 
)

Definition at line 217 of file lasindex.cpp.

◆ intersect_tile()

BOOL LASindex::intersect_tile ( const F32  ll_x,
const F32  ll_y,
const F32  size 
)

Definition at line 227 of file lasindex.cpp.

◆ merge_intervals()

BOOL LASindex::merge_intervals ( )
private

Definition at line 468 of file lasindex.cpp.

◆ prepare()

void LASindex::prepare ( LASspatial spatial,
I32  threshold = 1000 
)

Definition at line 76 of file lasindex.cpp.

◆ print()

void LASindex::print ( BOOL  verbose)

Definition at line 176 of file lasindex.cpp.

◆ read() [1/2]

BOOL LASindex::read ( ByteStreamIn stream)

Definition at line 355 of file lasindex.cpp.

◆ read() [2/2]

BOOL LASindex::read ( const char *  file_name)

Definition at line 267 of file lasindex.cpp.

◆ read_next()

BOOL LASindex::read_next ( LASreader lasreader)

Definition at line 438 of file lasindex.cpp.

◆ seek_next()

BOOL LASindex::seek_next ( LASreader lasreader)

Definition at line 453 of file lasindex.cpp.

◆ write() [1/2]

BOOL LASindex::write ( ByteStreamOut stream) const

Definition at line 408 of file lasindex.cpp.

◆ write() [2/2]

BOOL LASindex::write ( const char *  file_name) const

Definition at line 311 of file lasindex.cpp.

Member Data Documentation

◆ cells

U32 LASindex::cells

Definition at line 75 of file lasindex.hpp.

◆ end

U32 LASindex::end

Definition at line 72 of file lasindex.hpp.

◆ full

U32 LASindex::full

Definition at line 73 of file lasindex.hpp.

◆ have_interval

BOOL LASindex::have_interval
private

Definition at line 93 of file lasindex.hpp.

◆ interval

LASinterval* LASindex::interval
private

Definition at line 92 of file lasindex.hpp.

◆ spatial

LASspatial* LASindex::spatial
private

Definition at line 91 of file lasindex.hpp.

◆ start

U32 LASindex::start

Definition at line 71 of file lasindex.hpp.

◆ total

U32 LASindex::total

Definition at line 74 of file lasindex.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