Go to the documentation of this file.
12 using namespace boost::program_options;
16 (
"help",
"Produce help message")
17 (
"inputFile",value<vector<string>>(),
"Input file name. Supported formats are ASCII (.pts, .xyz) and .ply")
18 (
"ml", value<int>(&
m_maxLevel)->default_value(8),
"Maximum allowed octree levels")
19 (
"e", value<float>(&
m_maxError)->default_value(2.8),
"Maximum allowed error between points and surfaces")
20 (
"kd", value<int>(&
m_kd)->default_value(5),
"Number of normals used for distance function evaluation")
21 (
"ki", value<int>(&
m_ki)->default_value(10),
"Number of normals used in the normal interpolation process")
22 (
"kn", value<int>(&
m_kn)->default_value(10),
"Size of k-neighborhood used for normal estimation")
23 (
"pcm,p", value<string>(&
m_pcm)->default_value(
"FLANN"),
"Point cloud manager used for point handling and normal estimation. Choose from {STANN, PCL, NABO}.")
24 (
"ransac",
"Set this flag for RANSAC based normal estimation.")
25 (
"scanPoseFile", value<string>()->default_value(
""),
"ASCII file containing scan positions that can be used to flip normals")
36 return (
m_variables[
"inputFile"].as<vector<string>>())[0];
56 cout <<
"Error: You must specify an input file." << endl;
string getInputFileName() const
variables_map m_variables
The internally used variable map.
int m_kd
The number of neighbors for distance function evaluation.
int m_maxLevel
The maximum allows octree level.
int m_kn
The number of neighbors for normal estimation.
int m_numThreads
The number of threads to use.
int getNumThreads() const
int m_ki
The number of neighbors for normal interpolation.
string m_pcm
The used point cloud manager.
float getMaxError() const
float m_maxError
The max allowed error between points and surfaces in an octree cell.
string getScanPoseFile() const
virtual void setup()
Setup internal data structures.
options_description m_descr
The internally used option description.
static int getNumThreads()
Returns the number of supported threads (or 1 if OpenMP is not supported)
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