lastransform.hpp
Go to the documentation of this file.
1 /*
2 ===============================================================================
3 
4  FILE: lastransform.hpp
5 
6  CONTENTS:
7 
8  Transforms LIDAR points with a number of different operations.
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  18 December 2011 -- added '-flip_waveform_direction' to deal with Riegl's data
28  20 March 2011 -- added -translate_raw_xyz after the fullest of full moons
29  21 January 2011 -- re-created after matt told me about the optech dashmap bug
30 
31 ===============================================================================
32 */
33 #ifndef LAS_TRANSFORM_HPP
34 #define LAS_TRANSFORM_HPP
35 
36 #include "lasdefinitions.hpp"
37 
39 {
40 public:
41  virtual const char * name() const = 0;
42  virtual void transform(LASpoint* point) const = 0;
43  virtual ~LASoperation(){};
44 };
45 
47 {
48 public:
49 
51 
52  void usage() const;
53  void clean();
54  BOOL parse(int argc, char* argv[]);
55  inline BOOL active() const { return (num_operations != 0); };
56 
57  void transform(LASpoint* point) const;
58 
59  LAStransform();
60  ~LAStransform();
61 
62 private:
63 
64  void add_operation(LASoperation* operation);
68 };
69 
70 #endif
int BOOL
Definition: mydefs.hpp:57
bool change_coordinates
LASoperation ** operations
BOOL active() const
unsigned int U32
Definition: mydefs.hpp:39
virtual void transform(LASpoint *point) const =0
virtual ~LASoperation()
virtual const char * name() const =0
char ** argv


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