Go to the documentation of this file.
34 #include <boost/program_options.hpp>
45 using namespace boost::program_options;
64 int getNumThreads()
const;
69 bool printUsage()
const;
74 bool colorRegions()
const;
79 bool optimizePlanes()
const;
81 bool textures()
const;
83 bool noVizualisation()
const;
85 bool noReconstruction()
const;
92 bool clusterPlanes()
const;
97 string getInputDevice()
const;
99 string getOutput()
const;
104 string getClassifier()
const;
109 int getPlaneIterations()
const;
114 float getNormalThreshold()
const;
120 int getSmallRegionThreshold()
const;
125 int getMinPlaneSize()
const;
130 int getCleanContourIterations()
const;
136 int getDanglingArtifacts()
const;
141 int getFillHoles()
const;
143 float getShiftingDistance()
const;
145 float getCameraOffset()
const;
150 int getDepth()
const;
155 float getLineFusionThreshold()
const;
217 cout <<
"##### Program options: " << endl;
219 cout <<
"##### Number of threads \t\t: " << o.
getNumThreads() << endl;
222 cout <<
"##### Using Device \t\t\t: " << o.
getInputDevice() << endl;
223 cout <<
"##### Saving mesh to \t\t\t: " << o.
getOutput() << endl;
225 cout <<
"##### Using camera offset \t\t: " << o.
getCameraOffset() << endl;
229 cout <<
"##### Live visualization \t\t: NO" << endl;
232 cout <<
"##### Live visualization \t\t: YES" << endl;
236 cout <<
"##### Online reconstruction \t\t: NO" << endl;
239 cout <<
"##### Online reconstruction \t\t: YES" << endl;
243 cout <<
"##### Fill holes \t\t\t: " << o.
getFillHoles() << endl;
247 cout <<
"##### Fill holes \t\t\t: NO" << endl;
256 cout <<
"##### Remove DAs \t\t\t: NO" << endl;
261 cout <<
"##### Optimize Planes \t\t\t: YES" << endl;
267 cout <<
"##### Live texturing \t\t\t: YES" << endl;
269 cout <<
"##### Live texturing \t\t\t: NO" << endl;
272 cout <<
"##### Recursion depth \t\t\t: " << o.
getDepth() << endl;
276 cout <<
"##### Verbose output \t\t\t: YES" << endl;
options_description m_descr
The internally used option description.
bool noVizualisation() const
bool optimizePlanes() const
Returns true if cluster optimization is enabled.
int m_planeIterations
Number of iterations for plane optimzation.
int m_depth
Maximum recursion depth for region growing.
int getFillHoles() const
Returns the region threshold for hole filling.
int getDanglingArtifacts() const
Returns the number of dangling artifacts to remove from a created mesh.
bool noReconstruction() const
int getDepth() const
Returns the maximum recursion depth for region growing.
float getShiftingDistance() const
string getInputDevice() const
Returns the output file name.
int getSmallRegionThreshold() const
Returns the threshold for the size of small region deletion after plane optimization.
float m_planeNormalThreshold
Threshold for plane optimization.
int m_rda
Number of dangling artifacts to remove.
int m_numberOfDefaults
The number of used default values.
string m_classifier
Name of the classifier object to color the mesh.
variables_map m_variables
The internally used variable map.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
float getCameraOffset() const
int m_smallRegionThreshold
Threshold for small ragions.
int getNumThreads() const
Returns the number of used threads.
int m_numThreads
The number of uesed threads.
float getNormalThreshold() const
Returns the normal threshold for plane optimization.
int getPlaneIterations() const
Returns to number plane optimization iterations.
positional_options_description m_pdescr
The internally used positional option desription.
int m_cleanContourIterations
float m_lineFusionThreshold
Threshold for line fusing when tesselating.
A class to parse the program options for the reconstruction executable.
float m_shifting_distance
int m_minPlaneSize
Threshold for plane optimization.
int m_fillHoles
Threshold for hole filling.
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