34 #include <boost/program_options.hpp> 65 return (m_variables[
"outputFile"].as<string>());
72 return (m_variables[
"inputFile"].as< vector<string> >())[0];
77 return (m_variables.count(
"ransac"));
82 return (m_variables.count(
"pca"));
87 return m_variables[
"flipx"].as<
float>();
92 return m_variables[
"flipy"].as<
float>();
97 return m_variables[
"flipz"].as<
float>();
102 return m_variables[
"kn"].as<
int>();
107 return m_variables[
"ki"].as<
int>();
112 return m_variables[
"kd"].as<
int>();
117 return m_variables[
"voxelsize"].as<
float>();
122 return m_variables.count(
"voxelsize");
127 return m_variables.count(
"reconstruct");
132 return m_variables.count(
"exportPointNormals");
158 os <<
"##### OpenCl normal estimation settings #####" << endl;
160 os <<
"Normal Calculation with RANSAC" << endl;
162 os <<
"Normal Calculation with PCA" << endl;
164 os <<
"Normal Calculation with PCA" << endl;
166 os <<
"Neighbors for normal estimation: "<< o.
kn() << endl;
167 os <<
"Neighbors for normal interpolation: " << o.
ki() << endl;
168 os <<
"Neighbors for distance function: " << o.
kd() << endl;
169 os <<
"Flippoint x: " << o.
flipx() << endl;
170 os <<
"Flippoint y: " << o.
flipy() << endl;
171 os <<
"Flippoint z: " << o.
flipz() << endl;
positional_options_description m_pdescr
The internally used positional option desription.
ostream & operator<<(ostream &os, const Options &o)
variables_map m_variables
The internally used variable map.
string outputFile() const
A class to parse the program options for the reconstruction executable.
bool useVoxelSize() const
float getVoxelsize() const
options_description m_descr
The internally used option description.
bool exportPointNormals() const