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 getScanPoseFile() const
int getNumThreads() const
int m_ki
The number of neighbors for normal interpolation.
static int getNumThreads()
Returns the number of supported threads (or 1 if OpenMP is not supported)
int m_kn
The number of neighbors for normal estimation.
virtual void setup()
Setup internal data structures.
int m_maxLevel
The maximum allows octree level.
options_description m_descr
The internally used option description.
float m_maxError
The max allowed error between points and surfaces in an octree cell.
string m_pcm
The used point cloud manager.
int m_kd
The number of neighbors for distance function evaluation.
string getInputFileName() const
variables_map m_variables
The internally used variable map.
int m_numThreads
The number of threads to use.
float getMaxError() const