Go to the documentation of this file.
34 #include <boost/program_options.hpp>
46 using namespace boost::program_options;
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 <<
"##### Cuda 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;
ostream & operator<<(ostream &os, const Options &o)
string outputFile() const
bool exportPointNormals() const
A class to parse the program options for the reconstruction executable.
float getVoxelsize() const
variables_map m_variables
The internally used variable map.
positional_options_description m_pdescr
The internally used positional option desription.
options_description m_descr
The internally used option description.
bool useVoxelSize() const
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