ext
laslib
inc
laswriter_qfit.hpp
Go to the documentation of this file.
1
/*
2
===============================================================================
3
4
FILE: laswriter_qfit.hpp
5
6
CONTENTS:
7
8
Writes LIDAR points from to ASCII through on-the-fly conversion from LAS.
9
10
PROGRAMMERS:
11
12
martin.isenburg@gmail.com
13
14
COPYRIGHT:
15
16
(c) 2007-2011, Martin Isenburg, LASSO - tools to catch reality
17
18
This is free software; you can redistribute and/or modify it under the
19
terms of the GNU Lesser General Licence as published by the Free Software
20
Foundation. See the COPYING file for more information.
21
22
This software is distributed WITHOUT ANY WARRANTY and without even the
23
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
24
25
CHANGE HISTORY:
26
27
23 December 2011 -- created after by new OGIO laptop bagpack arrived
28
29
===============================================================================
30
*/
31
#ifndef LAS_WRITER_QFIT_HPP
32
#define LAS_WRITER_QFIT_HPP
33
34
#include "
laswriter.hpp
"
35
36
#include <stdio.h>
37
38
class
ByteStreamOut
;
39
40
class
LASwriterQFIT
:
public
LASwriter
41
{
42
public
:
43
44
BOOL
refile
(FILE*
file
);
45
46
BOOL
open
(
const
char
* file_name,
const
LASheader
* header,
I32
version
=48,
U32
io_buffer_size=65536);
47
BOOL
open
(FILE* file,
const
LASheader
* header,
I32
version
=48);
48
BOOL
open
(
ByteStreamOut
*
stream
,
const
LASheader
* header,
I32
version
=48);
49
50
BOOL
write_point
(
const
LASpoint
* point);
51
BOOL
chunk
() {
return
FALSE
; };
52
53
BOOL
update_header
(
const
LASheader
* header,
BOOL
use_inventory=
TRUE
,
BOOL
update_extra_bytes=
FALSE
);
54
I64
close
(
BOOL
update_npoints=
true
);
55
56
LASwriterQFIT
();
57
~LASwriterQFIT
();
58
59
private
:
60
ByteStreamOut
*
stream
;
61
FILE*
file
;
62
I32
version
;
63
BOOL
endian_swap
;
64
BOOL
rescale_reoffset
;
65
I32
buffer
[14];
66
I32
scan_azimuth_array_offset
;
67
I32
pitch_array_offset
;
68
I32
roll_array_offset
;
69
I32
pulse_width_array_offset
;
70
};
71
72
#endif
LASwriterQFIT::stream
ByteStreamOut * stream
Definition:
laswriter_qfit.hpp:60
LASwriterQFIT
Definition:
laswriter_qfit.hpp:40
BOOL
int BOOL
Definition:
mydefs.hpp:57
FALSE
#define FALSE
Definition:
mydefs.hpp:133
ByteStreamOut
Definition:
bytestreamout.hpp:36
LASwriter
Definition:
laswriter.hpp:47
U32
unsigned int U32
Definition:
mydefs.hpp:39
LASwriterQFIT::write_point
BOOL write_point(const LASpoint *point)
Definition:
laswriter_qfit.cpp:223
LASwriterQFIT::endian_swap
BOOL endian_swap
Definition:
laswriter_qfit.hpp:63
LASwriterQFIT::~LASwriterQFIT
~LASwriterQFIT()
Definition:
laswriter_qfit.cpp:308
I64
long long I64
Definition:
mydefs.hpp:48
laswriter.hpp
LASwriterQFIT::scan_azimuth_array_offset
I32 scan_azimuth_array_offset
Definition:
laswriter_qfit.hpp:66
LASwriterQFIT::version
I32 version
Definition:
laswriter_qfit.hpp:62
LASwriterQFIT::buffer
I32 buffer[14]
Definition:
laswriter_qfit.hpp:65
LASwriterQFIT::file
FILE * file
Definition:
laswriter_qfit.hpp:61
LASwriterQFIT::close
I64 close(BOOL update_npoints=true)
Definition:
laswriter_qfit.cpp:272
LASwriterQFIT::rescale_reoffset
BOOL rescale_reoffset
Definition:
laswriter_qfit.hpp:64
I32
int I32
Definition:
mydefs.hpp:35
LASpoint
Definition:
lasdefinitions.hpp:472
LASwriterQFIT::refile
BOOL refile(FILE *file)
Definition:
laswriter_qfit.cpp:43
LASwriterQFIT::update_header
BOOL update_header(const LASheader *header, BOOL use_inventory=TRUE, BOOL update_extra_bytes=FALSE)
Definition:
laswriter_qfit.cpp:267
LASwriterQFIT::roll_array_offset
I32 roll_array_offset
Definition:
laswriter_qfit.hpp:68
LASwriterQFIT::pitch_array_offset
I32 pitch_array_offset
Definition:
laswriter_qfit.hpp:67
LASheader
Definition:
lasdefinitions.hpp:952
LASwriterQFIT::open
BOOL open(const char *file_name, const LASheader *header, I32 version=48, U32 io_buffer_size=65536)
Definition:
laswriter_qfit.cpp:50
TRUE
#define TRUE
Definition:
mydefs.hpp:137
LASwriterQFIT::LASwriterQFIT
LASwriterQFIT()
Definition:
laswriter_qfit.cpp:295
LASwriterQFIT::pulse_width_array_offset
I32 pulse_width_array_offset
Definition:
laswriter_qfit.hpp:69
LASwriterQFIT::chunk
BOOL chunk()
Definition:
laswriter_qfit.hpp:51
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:07