41 #include <boost/program_options.hpp> 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;
float sy()
Returns the scaling factor for the y coordinates.
int y()
Returns the position of the x coordinate in the data.
int r()
Returns the position of the x coordinate in the data.
A class to parse the program options for the reconstruction executable.
string m_outputFile
Output file name.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
int i()
Returns the position of the x coordinate in the data.
float sz()
Returns the scaling factor for the z coordinates.
int z()
Returns the position of the x coordinate in the data.
int g()
Returns the position of the x coordinate in the data.
string outputFile() const
Retuns the input file.
string inputFile() const
Retuns the input file.
positional_options_description m_pdescr
The internally used positional option desription.
float sx()
Returns the scaling factor for the x coordinates.
int b()
Returns the position of the x coordinate in the data.
variables_map m_variables
The internally used variable map.
options_description m_descr
The internally used option description.
int x()
Returns the position of the x coordinate in the data.