A class to parse the program options for the reconstruction executable. More...
#include <Options.hpp>
| Public Member Functions | |
| bool | clusterPlanes () const | 
| True if region clustering without plane optimization is required.  More... | |
| bool | colorRegions () const | 
| Returns true of region coloring is enabled.  More... | |
| float | getCameraOffset () const | 
| string | getClassifier () const | 
| Returns the name of the classifier used to color the mesh.  More... | |
| int | getCleanContourIterations () const | 
| Number of iterations for contour cleanup.  More... | |
| int | getDanglingArtifacts () const | 
| Returns the number of dangling artifacts to remove from a created mesh.  More... | |
| int | getDepth () const | 
| Returns the maximum recursion depth for region growing.  More... | |
| int | getFillHoles () const | 
| Returns the region threshold for hole filling.  More... | |
| string | getInputDevice () const | 
| Returns the output file name.  More... | |
| float | getLineFusionThreshold () const | 
| Returns the fusion threshold for tesselation.  More... | |
| int | getMinPlaneSize () const | 
| Minimum value for plane optimzation.  More... | |
| float | getNormalThreshold () const | 
| Returns the normal threshold for plane optimization.  More... | |
| int | getNumThreads () const | 
| Returns the number of used threads.  More... | |
| string | getOutput () const | 
| int | getPlaneIterations () const | 
| Returns to number plane optimization iterations.  More... | |
| float | getShiftingDistance () const | 
| int | getSmallRegionThreshold () const | 
| Returns the threshold for the size of small region deletion after plane optimization.  More... | |
| bool | noReconstruction () const | 
| bool | noVizualisation () const | 
| bool | optimizePlanes () const | 
| Returns true if cluster optimization is enabled.  More... | |
| Options (int argc, char **argv) | |
| Ctor. Parses the command parameters given to the main function of the program.  More... | |
| bool | printUsage () const | 
| Prints a usage message to stdout.  More... | |
| bool | textures () const | 
| bool | verbose () const | 
| virtual | ~Options () | 
| Private Attributes | |
| float | m_cam_offset | 
| string | m_classifier | 
| Name of the classifier object to color the mesh.  More... | |
| int | m_cleanContourIterations | 
| int | m_depth | 
| Maximum recursion depth for region growing.  More... | |
| options_description | m_descr | 
| The internally used option description.  More... | |
| string | m_device | 
| int | m_fillHoles | 
| Threshold for hole filling.  More... | |
| float | m_lineFusionThreshold | 
| Threshold for line fusing when tesselating.  More... | |
| string | m_mesh_name | 
| int | m_minPlaneSize | 
| Threshold for plane optimization.  More... | |
| bool | m_no_reconstruct | 
| bool | m_no_viz | 
| int | m_numberOfDefaults | 
| The number of used default values.  More... | |
| int | m_numThreads | 
| The number of uesed threads.  More... | |
| bool | m_optimize | 
| positional_options_description | m_pdescr | 
| The internally used positional option desription.  More... | |
| int | m_planeIterations | 
| Number of iterations for plane optimzation.  More... | |
| float | m_planeNormalThreshold | 
| Threshold for plane optimization.  More... | |
| int | m_rda | 
| Number of dangling artifacts to remove.  More... | |
| float | m_shifting_distance | 
| int | m_smallRegionThreshold | 
| Threshold for small ragions.  More... | |
| variables_map | m_variables | 
| The internally used variable map.  More... | |
A class to parse the program options for the reconstruction executable.
Definition at line 51 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| Options::Options | ( | int | argc, | 
| char ** | argv | ||
| ) | 
Ctor. Parses the command parameters given to the main function of the program.
Definition at line 32 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| 
 | virtual | 
Definition at line 202 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::clusterPlanes | ( | ) | const | 
True if region clustering without plane optimization is required.
Definition at line 165 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::colorRegions | ( | ) | const | 
Returns true of region coloring is enabled.
Definition at line 170 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| float Options::getCameraOffset | ( | ) | const | 
Definition at line 110 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| string Options::getClassifier | ( | ) | const | 
Returns the name of the classifier used to color the mesh.
Definition at line 95 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getCleanContourIterations | ( | ) | const | 
Number of iterations for contour cleanup.
Definition at line 186 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getDanglingArtifacts | ( | ) | const | 
Returns the number of dangling artifacts to remove from a created mesh.
Definition at line 100 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getDepth | ( | ) | const | 
Returns the maximum recursion depth for region growing.
Definition at line 192 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getFillHoles | ( | ) | const | 
Returns the region threshold for hole filling.
Definition at line 115 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| string Options::getInputDevice | ( | ) | const | 
Returns the output file name.
Definition at line 85 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| float Options::getLineFusionThreshold | ( | ) | const | 
Returns the fusion threshold for tesselation.
Definition at line 197 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getMinPlaneSize | ( | ) | const | 
Minimum value for plane optimzation.
Definition at line 120 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| float Options::getNormalThreshold | ( | ) | const | 
Returns the normal threshold for plane optimization.
Definition at line 176 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getNumThreads | ( | ) | const | 
Returns the number of used threads.
Definition at line 74 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| string Options::getOutput | ( | ) | const | 
Definition at line 90 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getPlaneIterations | ( | ) | const | 
Returns to number plane optimization iterations.
Definition at line 80 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| float Options::getShiftingDistance | ( | ) | const | 
Definition at line 105 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| int Options::getSmallRegionThreshold | ( | ) | const | 
Returns the threshold for the size of small region deletion after plane optimization.
Definition at line 181 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::noReconstruction | ( | ) | const | 
Definition at line 155 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::noVizualisation | ( | ) | const | 
Definition at line 149 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::optimizePlanes | ( | ) | const | 
Returns true if cluster optimization is enabled.
Definition at line 138 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::printUsage | ( | ) | const | 
Prints a usage message to stdout.
Definition at line 126 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::textures | ( | ) | const | 
Definition at line 143 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| bool Options::verbose | ( | ) | const | 
Definition at line 160 of file ext/kintinuous/kfusion/src/app/Options.cpp.
| 
 | private | 
Definition at line 165 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Name of the classifier object to color the mesh.
Definition at line 209 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 203 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Maximum recursion depth for region growing.
Definition at line 201 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
The internally used option description.
Definition at line 174 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 160 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Threshold for hole filling.
Definition at line 195 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Threshold for line fusing when tesselating.
Definition at line 206 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 161 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Threshold for plane optimization.
Definition at line 198 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 162 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 164 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
The number of used default values.
Definition at line 180 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
The number of uesed threads.
Definition at line 168 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 163 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
The internally used positional option desription.
Definition at line 177 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Number of iterations for plane optimzation.
Definition at line 183 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Threshold for plane optimization.
Definition at line 186 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Number of dangling artifacts to remove.
Definition at line 192 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Definition at line 166 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
Threshold for small ragions.
Definition at line 189 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.
| 
 | private | 
The internally used variable map.
Definition at line 171 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.