src
tools
lvr2_riegl_project_converter
src/tools/lvr2_riegl_project_converter/Options.hpp
Go to the documentation of this file.
1
28
#include <string>
29
30
#include <boost/program_options.hpp>
31
32
namespace
po = boost::program_options;
33
34
class
Options
{
35
36
private
:
37
po::variables_map
vm
;
38
po::options_description
desc
;
39
po::positional_options_description
pod
;
40
41
public
:
42
Options
();
43
44
bool
parse
(
int
argc
,
char
**
argv
);
45
46
std::string
getOutputDir
() {
47
return
vm
[
"out"
].as<std::string>();
48
}
49
50
std::string
getOutputFormat
() {
51
return
vm
[
"outformat"
].as<std::string>();
52
}
53
54
std::string
getInputDir
() {
55
return
vm
[
"input"
].as<std::string>();
56
}
57
58
std::string
getInputFormat
() {
59
return
vm
[
"inputformat"
].as<std::string>();
60
}
61
62
bool
force_overwrite
() {
63
return
vm
.count(
"force"
) != 0;
64
}
65
66
unsigned
int
getEndscan
() {
67
return
vm
[
"end"
].as<
unsigned
int
>();
68
}
69
70
unsigned
int
getStartscan
() {
71
return
vm
[
"start"
].as<
unsigned
int
>();
72
}
73
74
unsigned
int
getReductionFactor
() {
75
return
vm
[
"reduction"
].as<
unsigned
int
>();
76
}
77
78
79
};
Options::pod
po::positional_options_description pod
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:39
Options
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:34
Options::getOutputFormat
std::string getOutputFormat()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:50
Options::vm
po::variables_map vm
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:37
Options::force_overwrite
bool force_overwrite()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:62
Options::parse
bool parse(int argc, char **argv)
Definition:
src/tools/lvr2_riegl_project_converter/Options.cpp:50
Options::getOutputDir
std::string getOutputDir()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:46
Options::getInputFormat
std::string getInputFormat()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:58
Options::getReductionFactor
unsigned int getReductionFactor()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:74
argc
int argc
Definition:
tests_high_five_parallel.cpp:27
Options::getEndscan
unsigned int getEndscan()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:66
Options::desc
po::options_description desc
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:38
Options::getInputDir
std::string getInputDir()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:54
Options::getStartscan
unsigned int getStartscan()
Definition:
src/tools/lvr2_riegl_project_converter/Options.hpp:70
argv
char ** argv
Definition:
tests_high_five_parallel.cpp:28
Options::Options
Options()
Definition:
src/tools/lvr2_riegl_project_converter/Options.cpp:32
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:24