Go to the documentation of this file.
41 #include <boost/program_options.hpp>
53 using namespace boost::program_options;
72 int x() {
return m_variables[
"xPos"].as<
int>();}
77 int y() {
return m_variables[
"yPos"].as<
int>();}
82 int z() {
return m_variables[
"zPos"].as<
int>();}
87 int r() {
return m_variables[
"rPos"].as<
int>() ;}
92 int g() {
return m_variables[
"gPos"].as<
int>();}
97 int b() {
return m_variables[
"bPos"].as<
int>();}
102 int i() {
return m_variables[
"iPos"].as<
int>();}
108 float sx() {
return m_variables[
"sx"].as<
float>();}
113 float sy() {
return m_variables[
"sy"].as<
float>();}
118 float sz() {
return m_variables[
"sz"].as<
float>();}
124 string inputFile()
const;
129 string outputFile()
const;
134 bool printUsage()
const;
139 bool convertRemission()
const;
161 cout <<
"##### Program options: " << endl;
162 cout <<
"##### Input file \t\t: " << o.
inputFile() << endl;
163 cout <<
"##### Output file \t\t: " << o.
outputFile() << endl;
variables_map m_variables
The internally used variable map.
options_description m_descr
The internally used option description.
string m_outputFile
Output file name.
int g()
Returns the position of the x coordinate in the data.
string outputFile() const
Retuns the input file.
positional_options_description m_pdescr
The internally used positional option desription.
string inputFile() const
Retuns the input file.
int x()
Returns the position of the x coordinate in the data.
int y()
Returns the position of the x coordinate in the data.
int b()
Returns the position of the x coordinate in the data.
int i()
Returns the position of the x coordinate in the data.
int r()
Returns the position of the x coordinate in the data.
int z()
Returns the position of the x coordinate in the data.
A class to parse the program options for the reconstruction executable.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
float sx()
Returns the scaling factor for the x coordinates.
float sy()
Returns the scaling factor for the y coordinates.
float sz()
Returns the scaling factor for the z coordinates.
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