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

#include <laswriter_las.hpp>

Inheritance diagram for LASwriterLAS:
Inheritance graph
[legend]

Public Member Functions

BOOL chunk ()
 
I64 close (BOOL update_npoints=true)
 
 LASwriterLAS ()
 
BOOL open (const LASheader *header, U32 compressor=LASZIP_COMPRESSOR_NONE, I32 requested_version=0, I32 chunk_size=50000)
 
BOOL open (const char *file_name, const LASheader *header, U32 compressor=LASZIP_COMPRESSOR_NONE, I32 requested_version=0, I32 chunk_size=50000, U32 io_buffer_size=65536)
 
BOOL open (FILE *file, const LASheader *header, U32 compressor=LASZIP_COMPRESSOR_NONE, I32 requested_version=0, I32 chunk_size=50000)
 
BOOL open (ostream &ostream, const LASheader *header, U32 compressor=LASZIP_COMPRESSOR_NONE, I32 requested_version=0, I32 chunk_size=50000)
 
BOOL refile (FILE *file)
 
BOOL update_header (const LASheader *header, BOOL use_inventory=TRUE, BOOL update_extra_bytes=FALSE)
 
BOOL write_point (const LASpoint *point)
 
 ~LASwriterLAS ()
 
- Public Member Functions inherited from LASwriter
 LASwriter ()
 
void update_inventory (const LASpoint *point)
 
virtual ~LASwriter ()
 

Private Member Functions

BOOL open (ByteStreamOut *stream, const LASheader *header, U32 compressor, I32 requested_version, I32 chunk_size)
 

Private Attributes

FILE * file
 
I64 header_start_position
 
ByteStreamOutstream
 
LASwritePointwriter
 

Additional Inherited Members

- Public Attributes inherited from LASwriter
LASinventory inventory
 
I64 npoints
 
I64 p_count
 
LASquantizer quantizer
 

Detailed Description

Definition at line 55 of file laswriter_las.hpp.

Constructor & Destructor Documentation

◆ LASwriterLAS()

LASwriterLAS::LASwriterLAS ( )

Definition at line 1002 of file laswriter_las.cpp.

◆ ~LASwriterLAS()

LASwriterLAS::~LASwriterLAS ( )

Definition at line 1009 of file laswriter_las.cpp.

Member Function Documentation

◆ chunk()

BOOL LASwriterLAS::chunk ( )
virtual

Implements LASwriter.

Definition at line 789 of file laswriter_las.cpp.

◆ close()

I64 LASwriterLAS::close ( BOOL  update_npoints = true)
virtual

Implements LASwriter.

Definition at line 946 of file laswriter_las.cpp.

◆ open() [1/5]

BOOL LASwriterLAS::open ( const LASheader header,
U32  compressor = LASZIP_COMPRESSOR_NONE,
I32  requested_version = 0,
I32  chunk_size = 50000 
)

Definition at line 53 of file laswriter_las.cpp.

◆ open() [2/5]

BOOL LASwriterLAS::open ( const char *  file_name,
const LASheader header,
U32  compressor = LASZIP_COMPRESSOR_NONE,
I32  requested_version = 0,
I32  chunk_size = 50000,
U32  io_buffer_size = 65536 
)

Definition at line 59 of file laswriter_las.cpp.

◆ open() [3/5]

BOOL LASwriterLAS::open ( FILE *  file,
const LASheader header,
U32  compressor = LASZIP_COMPRESSOR_NONE,
I32  requested_version = 0,
I32  chunk_size = 50000 
)

Definition at line 88 of file laswriter_las.cpp.

◆ open() [4/5]

BOOL LASwriterLAS::open ( ostream &  ostream,
const LASheader header,
U32  compressor = LASZIP_COMPRESSOR_NONE,
I32  requested_version = 0,
I32  chunk_size = 50000 
)

Definition at line 115 of file laswriter_las.cpp.

◆ open() [5/5]

BOOL LASwriterLAS::open ( ByteStreamOut stream,
const LASheader header,
U32  compressor,
I32  requested_version,
I32  chunk_size 
)
private

Definition at line 126 of file laswriter_las.cpp.

◆ refile()

BOOL LASwriterLAS::refile ( FILE *  file)

Definition at line 46 of file laswriter_las.cpp.

◆ update_header()

BOOL LASwriterLAS::update_header ( const LASheader header,
BOOL  use_inventory = TRUE,
BOOL  update_extra_bytes = FALSE 
)
virtual

Implements LASwriter.

Definition at line 794 of file laswriter_las.cpp.

◆ write_point()

BOOL LASwriterLAS::write_point ( const LASpoint point)
virtual

Implements LASwriter.

Definition at line 783 of file laswriter_las.cpp.

Member Data Documentation

◆ file

FILE* LASwriterLAS::file
private

Definition at line 79 of file laswriter_las.hpp.

◆ header_start_position

I64 LASwriterLAS::header_start_position
private

Definition at line 80 of file laswriter_las.hpp.

◆ stream

ByteStreamOut* LASwriterLAS::stream
private

Definition at line 77 of file laswriter_las.hpp.

◆ writer

LASwritePoint* LASwriterLAS::writer
private

Definition at line 78 of file laswriter_las.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 Mon Feb 28 2022 22:46:10