Go to the documentation of this file.
   41 #include <boost/program_options.hpp> 
   55 using namespace boost::program_options;
 
   72         string  getInputDir() 
const;
 
   73         string  getOutputDir() 
const;
 
   74         string  getOutputFormat() 
const;
 
   75     string      getInputFile() 
const;
 
   76     string      getOutputFile() 
const;
 
   78     bool    exportScanPositions() 
const;
 
   80     bool    transformBefore() 
const;
 
   82         float   getSigma() 
const;
 
   83         int             getTargetSize() 
const;
 
   84         double  getVoxelSize() 
const;
 
   85         size_t  getMinPointsPerVoxel() 
const;
 
   87         bool    convertToLVR() 
const;
 
   92         int r()
 const { 
return m_variables[
"rPos"].as<
int>() ;}
 
   97         int g()
 const { 
return m_variables[
"gPos"].as<
int>();}
 
  102         int b()
 const { 
return m_variables[
"bPos"].as<
int>();}
 
  107         int i()
 const { 
return m_variables[
"iPos"].as<
int>();}
 
  109     int getStart()
 const { 
return m_variables[
"start"].as<
int>(); }
 
  111     int getEnd()
 const { 
return m_variables[
"end"].as<
int>(); }
 
  113         std::string 
getScanPrefix()
 const { 
return m_variables[
"scanPrefix"].as<std::string>(); }
 
  114         std::string 
getPosePrefix()
 const { 
return m_variables[
"posePrefix"].as<std::string>(); }
 
  115         std::string 
getScanExtension()
 const { 
return m_variables[
"scanExtension"].as<std::string>(); }
 
  116         std::string 
getPoseExtension()
 const { 
return m_variables[
"poseExtension"].as<std::string>(); }
 
  138         cout << 
"##### Program options: "       << endl;
 
  139         cout << 
"##### Input dir \t\t: "  << o.
getInputDir() << endl;
 
  140         cout << 
"##### Output dir \t\t: "       << o.
getOutputDir() << endl;
 
  143                 cout << 
"##### Filter  \t\t\t: YES" << endl;
 
  144                 cout << 
"##### K  \t\t\t\t: " << o.
getK() << endl;
 
  145                 cout << 
"##### Sigma \t\t\t: " << o.
getSigma() << endl;
 
  149                 cout << 
"##### Filter  \t\t\t: NO" << endl;
 
  151         cout << 
"##### Target Size \t: " << o.
getTargetSize() << endl;
 
  
variables_map m_variables
The internally used variable map.
int g() const
Returns the position of the x coordinate in the data.
std::string getPosePrefix() const
string getInputDir() const
std::string getPoseExtension() const
options_description m_descr
The internally used option description.
string m_outputFile
Output file name.
int i() const
Returns the position of the x coordinate in the data.
std::string getScanPrefix() const
void filter(lvr2::PointBufferPtr &cloud, lvr2::indexArray &inlier, size_t j)
std::string getScanExtension() const
int getTargetSize() const
int r() const
Returns the position of the x coordinate in the data.
A class to parse the program options for the reconstruction executable.
positional_options_description m_pdescr
The internally used positional option desription.
string getOutputDir() const
int b() const
Returns the position of the x coordinate in the data.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
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