34 #include <boost/program_options.hpp> 66 return (m_variables[
"inputFile"].as< vector<string> >())[0];
72 return m_variables[
"img"].as<
string>();
77 return m_variables[
"minH"].as<
int>();
82 return m_variables[
"maxH"].as<
int>();
88 return m_variables[
"minV"].as<
int>();
93 return m_variables[
"maxV"].as<
int>();
98 return m_variables[
"imageWidth"].as<
int>();
104 return m_variables[
"imageHeight"].as<
int>();
109 return m_variables[
"regionWidth"].as<
int>();
114 return m_variables[
"regionHeight"].as<
int>();
119 return m_variables[
"maxZ"].as<
float>();
124 return m_variables[
"minZ"].as<
float>();
129 return m_variables[
"maxZimg"].as<
float>();
134 return m_variables[
"minZimg"].as<
float>();
139 return m_variables.count(
"optimize");
144 return m_variables[
"system"].as<
string>();
176 os <<
"##### Panorama normal estimation settings #####" << endl;
177 os <<
"Horizontal field of view\t: " << o.
minH() <<
" x " << o.
maxH() << endl;
178 os <<
"Vertical field of view\t\t: " << o.
minV() <<
" x " << o.
maxV() << endl;
180 os <<
"Z range (scan) \t\t\t: " << o.
minZ() <<
" to " << o.
maxZ() << endl;
181 os <<
"Z range (img)\t\t\t: " << o.
minZimg() <<
" to " << o.
maxZimg() << endl;
182 os <<
"Optimize aspect\t\t\t: " << o.
optimize() << endl;
A class to parse the program options for the reconstruction executable.
positional_options_description m_pdescr
The internally used positional option desription.
options_description m_descr
The internally used option description.
variables_map m_variables
The internally used variable map.
string coordinateSystem() const
ostream & operator<<(ostream &os, const Options &o)