34 #include <boost/program_options.hpp> 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;
int m_smallRegionThreshold
Threshold for small ragions.
options_description m_descr
The internally used option description.
int m_minPlaneSize
Threshold for plane optimization.
int getDepth() const
Returns the maximum recursion depth for region growing.
float getCameraOffset() const
A class to parse the program options for the reconstruction executable.
string getInputDevice() const
Returns the output file name.
int m_rda
Number of dangling artifacts to remove.
float m_shifting_distance
bool noVizualisation() const
float m_lineFusionThreshold
Threshold for line fusing when tesselating.
int m_depth
Maximum recursion depth for region growing.
int m_numberOfDefaults
The number of used default values.
int m_numThreads
The number of uesed threads.
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
int m_cleanContourIterations
int getSmallRegionThreshold() const
Returns the threshold for the size of small region deletion after plane optimization.
bool noReconstruction() const
int getFillHoles() const
Returns the region threshold for hole filling.
int m_fillHoles
Threshold for hole filling.
variables_map m_variables
The internally used variable map.
string m_classifier
Name of the classifier object to color the mesh.
int getPlaneIterations() const
Returns to number plane optimization iterations.
int getDanglingArtifacts() const
Returns the number of dangling artifacts to remove from a created mesh.
int m_planeIterations
Number of iterations for plane optimzation.
float getNormalThreshold() const
Returns the normal threshold for plane optimization.
int getNumThreads() const
Returns the number of used threads.
bool optimizePlanes() const
Returns true if cluster optimization is enabled.
float m_planeNormalThreshold
Threshold for plane optimization.
positional_options_description m_pdescr
The internally used positional option desription.
float getShiftingDistance() const