Public Member Functions | Private Attributes | List of all members
kfusion::Options Class Reference

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...
 

Detailed Description

A class to parse the program options for the reconstruction executable.

Definition at line 51 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

Constructor & Destructor Documentation

◆ Options()

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.

◆ ~Options()

Options::~Options ( )
virtual

Definition at line 202 of file ext/kintinuous/kfusion/src/app/Options.cpp.

Member Function Documentation

◆ clusterPlanes()

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.

◆ colorRegions()

bool Options::colorRegions ( ) const

Returns true of region coloring is enabled.

Definition at line 170 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getCameraOffset()

float Options::getCameraOffset ( ) const

Definition at line 110 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getClassifier()

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.

◆ getCleanContourIterations()

int Options::getCleanContourIterations ( ) const

Number of iterations for contour cleanup.

Definition at line 186 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getDanglingArtifacts()

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.

◆ getDepth()

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.

◆ getFillHoles()

int Options::getFillHoles ( ) const

Returns the region threshold for hole filling.

Definition at line 115 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getInputDevice()

string Options::getInputDevice ( ) const

Returns the output file name.

Definition at line 85 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getLineFusionThreshold()

float Options::getLineFusionThreshold ( ) const

Returns the fusion threshold for tesselation.

Definition at line 197 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getMinPlaneSize()

int Options::getMinPlaneSize ( ) const

Minimum value for plane optimzation.

Definition at line 120 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getNormalThreshold()

float Options::getNormalThreshold ( ) const

Returns the normal threshold for plane optimization.

Definition at line 176 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getNumThreads()

int Options::getNumThreads ( ) const

Returns the number of used threads.

Definition at line 74 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getOutput()

string Options::getOutput ( ) const

Definition at line 90 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getPlaneIterations()

int Options::getPlaneIterations ( ) const

Returns to number plane optimization iterations.

Definition at line 80 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getShiftingDistance()

float Options::getShiftingDistance ( ) const

Definition at line 105 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ getSmallRegionThreshold()

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.

◆ noReconstruction()

bool Options::noReconstruction ( ) const

Definition at line 155 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ noVizualisation()

bool Options::noVizualisation ( ) const

Definition at line 149 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ optimizePlanes()

bool Options::optimizePlanes ( ) const

Returns true if cluster optimization is enabled.

Definition at line 138 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ printUsage()

bool Options::printUsage ( ) const

Prints a usage message to stdout.

Definition at line 126 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ textures()

bool Options::textures ( ) const

Definition at line 143 of file ext/kintinuous/kfusion/src/app/Options.cpp.

◆ verbose()

bool Options::verbose ( ) const

Definition at line 160 of file ext/kintinuous/kfusion/src/app/Options.cpp.

Member Data Documentation

◆ m_cam_offset

float kfusion::Options::m_cam_offset
private

◆ m_classifier

string kfusion::Options::m_classifier
private

Name of the classifier object to color the mesh.

Definition at line 209 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_cleanContourIterations

int kfusion::Options::m_cleanContourIterations
private

◆ m_depth

int kfusion::Options::m_depth
private

Maximum recursion depth for region growing.

Definition at line 201 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_descr

options_description kfusion::Options::m_descr
private

The internally used option description.

Definition at line 174 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_device

string kfusion::Options::m_device
private

◆ m_fillHoles

int kfusion::Options::m_fillHoles
private

Threshold for hole filling.

Definition at line 195 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_lineFusionThreshold

float kfusion::Options::m_lineFusionThreshold
private

Threshold for line fusing when tesselating.

Definition at line 206 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_mesh_name

string kfusion::Options::m_mesh_name
private

◆ m_minPlaneSize

int kfusion::Options::m_minPlaneSize
private

Threshold for plane optimization.

Definition at line 198 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_no_reconstruct

bool kfusion::Options::m_no_reconstruct
private

◆ m_no_viz

bool kfusion::Options::m_no_viz
private

◆ m_numberOfDefaults

int kfusion::Options::m_numberOfDefaults
private

The number of used default values.

Definition at line 180 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_numThreads

int kfusion::Options::m_numThreads
private

The number of uesed threads.

Definition at line 168 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_optimize

bool kfusion::Options::m_optimize
private

◆ m_pdescr

positional_options_description kfusion::Options::m_pdescr
private

The internally used positional option desription.

Definition at line 177 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_planeIterations

int kfusion::Options::m_planeIterations
private

Number of iterations for plane optimzation.

Definition at line 183 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_planeNormalThreshold

float kfusion::Options::m_planeNormalThreshold
private

Threshold for plane optimization.

Definition at line 186 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_rda

int kfusion::Options::m_rda
private

Number of dangling artifacts to remove.

Definition at line 192 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_shifting_distance

float kfusion::Options::m_shifting_distance
private

◆ m_smallRegionThreshold

int kfusion::Options::m_smallRegionThreshold
private

Threshold for small ragions.

Definition at line 189 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.

◆ m_variables

variables_map kfusion::Options::m_variables
private

The internally used variable map.

Definition at line 171 of file ext/kintinuous/kfusion/include/kfusion/Options.hpp.


The documentation for this class was generated from the following files:


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 Mon Feb 28 2022 22:46:11