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

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

#include <Options.hpp>

Inheritance diagram for reconstruct::Options:
Inheritance graph
[legend]

Public Member Functions

bool clusterPlanes () const
 True if region clustering without plane optimization is required. More...
 
bool clusterPlanes () const
 True if region clustering without plane optimization is required. More...
 
bool colorRegions () const
 Returns true of region coloring is enabled. More...
 
bool colorRegions () const
 Returns true of region coloring is enabled. More...
 
bool doTextureAnalysis () const
 True if texture analysis is enabled. More...
 
bool doTextureAnalysis () const
 True if texture analysis is enabled. More...
 
bool extrude () const
 Whether to extend the grid. Enable by default. More...
 
bool extrude () const
 Whether to extend the grid. Enable by default. More...
 
bool filenameSet () const
 Returns true if an output filen name was set. More...
 
bool filenameSet () const
 Returns true if an output filen name was set. More...
 
bool generateTextures () const
 If true, textures will be generated during finalization of mesh. More...
 
bool generateTextures () const
 If true, textures will be generated during finalization of mesh. More...
 
string getClassifier () const
 Returns the name of the classifier used to color the mesh. More...
 
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 getCleanContourIterations () const
 Number of iterations for contour cleanup. More...
 
unsigned int getCoherenceThreshold () const
 
unsigned int getCoherenceThreshold () const
 
float getColorThreshold () const
 
float getColorThreshold () const
 
int getDanglingArtifacts () const
 Returns the number of dangling artifacts to remove from a created mesh. More...
 
int getDanglingArtifacts () const
 Returns the number of dangling artifacts to remove from a created mesh. More...
 
string getDecomposition () const
 Returns the name of the used point cloud handler. More...
 
string getDecomposition () const
 Returns the name of the used point cloud handler. More...
 
float getEdgeCollapseReductionRatio () const
 Reduction ratio for mesh reduction via edge collapse. More...
 
float getEdgeCollapseReductionRatio () const
 Reduction ratio for mesh reduction via edge collapse. More...
 
float getFeatureThreshold () const
 
float getFeatureThreshold () const
 
int getFillHoles () const
 Returns the region threshold for hole filling. More...
 
int getFillHoles () const
 Returns the region threshold for hole filling. More...
 
vector< float > getFlippoint () const
 
vector< float > getFlippoint () const
 
string getInputFileName () const
 Returns the input file name. More...
 
string getInputFileName () const
 Returns the input file name. More...
 
int getIntersections () const
 Returns the number of intersections. If the return value is positive it will be used for reconstruction instead of absolute voxelsize. More...
 
int getIntersections () const
 Returns the number of intersections. If the return value is positive it will be used for reconstruction instead of absolute voxelsize. More...
 
int getKd () const
 Returns the number of neighbors used for distance function evaluation. More...
 
int getKd () const
 Returns the number of neighbors used for distance function evaluation. More...
 
int getKi () const
 Returns the number of neighbors for normal interpolation. More...
 
int getKi () const
 Returns the number of neighbors for normal interpolation. More...
 
int getKn () const
 Returns the number of neighbors used for initial normal estimation. More...
 
int getKn () const
 Returns the number of neighbors used for initial normal estimation. More...
 
float getLineFusionThreshold () const
 Returns the fusion threshold for tesselation. More...
 
float getLineFusionThreshold () const
 Returns the fusion threshold for tesselation. More...
 
int getMinimumTransformationVotes () const
 
int getMinimumTransformationVotes () const
 
int getMinPlaneSize () const
 Minimum value for plane optimzation. More...
 
int getMinPlaneSize () const
 Minimum value for plane optimzation. More...
 
float getNormalThreshold () const
 Returns the normal threshold for plane optimization. More...
 
float getNormalThreshold () const
 Returns the normal threshold for plane optimization. More...
 
unsigned int getNumCCVColors () const
 
unsigned int getNumCCVColors () const
 
unsigned int getNumStatsColors () const
 
unsigned int getNumStatsColors () const
 
int getNumThreads () const
 Returns the number of used threads. More...
 
int getNumThreads () const
 Returns the number of used threads. More...
 
string getOutputFileName () const
 Returns the output file name. More...
 
string getOutputFileName () const
 Returns the output file name. More...
 
vector< string > getOutputFileNames () const
 Returns the output file names. More...
 
vector< string > getOutputFileNames () const
 Returns the output file names. More...
 
float getPatternThreshold () const
 
float getPatternThreshold () const
 
string getPCM () const
 Returns the name of the used point cloud handler. More...
 
string getPCM () const
 Returns the name of the used point cloud handler. More...
 
int getPlaneIterations () const
 Returns to number plane optimization iterations. More...
 
int getPlaneIterations () const
 Returns to number plane optimization iterations. More...
 
string getProjectDir () const
 
string getProjectDir () const
 
string getScanPoseFile () const
 Returns the name of the given file with scan poses used for normal flipping. More...
 
string getScanPoseFile () const
 Returns the name of the given file with scan poses used for normal flipping. More...
 
float getSharpCornerThreshold () const
 Returns the sharp corner threshold when using sharp feature decomposition. More...
 
float getSharpCornerThreshold () const
 Returns the sharp corner threshold when using sharp feature decomposition. More...
 
float getSharpFeatureThreshold () const
 Returns the sharp feature threshold when using sharp feature decomposition. More...
 
float getSharpFeatureThreshold () const
 Returns the sharp feature threshold when using sharp feature decomposition. More...
 
int getSmallRegionThreshold () const
 Returns the threshold for the size of small region deletion after plane optimization. More...
 
int getSmallRegionThreshold () const
 Returns the threshold for the size of small region deletion after plane optimization. More...
 
float * getStatsCoeffs () const
 
float * getStatsCoeffs () const
 
float getStatsThreshold () const
 
float getStatsThreshold () const
 
float getTexelSize () const
 Returns the texel size for texture resolution. More...
 
float getTexelSize () const
 Returns the texel size for texture resolution. More...
 
int getTexMaxClusterSize () const
 
int getTexMaxClusterSize () const
 
int getTexMinClusterSize () const
 
int getTexMinClusterSize () const
 
string getTexturePack () const
 
string getTexturePack () const
 
bool getUseCrossCorr () const
 
bool getUseCrossCorr () const
 
float getVoxelsize () const
 Returns the given voxelsize. More...
 
float getVoxelsize () const
 Returns the given voxelsize. More...
 
bool optimizePlanes () const
 Returns true if cluster optimization is enabled. More...
 
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...
 
 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 printUsage () const
 Prints a usage message to stdout. More...
 
bool recalcNormals () const
 If true, normals should be calculated even if they are already given in the input file. More...
 
bool recalcNormals () const
 If true, normals should be calculated even if they are already given in the input file. More...
 
bool retesselate () const
 Return whether the mesh should be retesselated or not. More...
 
bool retesselate () const
 Return whether the mesh should be retesselated or not. More...
 
bool saveFaceNormals () const
 Returns true if the face normals of the reconstructed mesh should be saved to an extra file ("face_normals.nor") More...
 
bool saveFaceNormals () const
 Returns true if the face normals of the reconstructed mesh should be saved to an extra file ("face_normals.nor") More...
 
bool saveGrid () const
 Returns true if the Marching Cubes grid should be save. More...
 
bool saveGrid () const
 Returns true if the Marching Cubes grid should be save. More...
 
bool saveNormals () const
 Returns true if the interpolated normals should be saved in the putput file. More...
 
bool saveNormals () const
 Returns true if the interpolated normals should be saved in the putput file. More...
 
bool saveOriginalData () const
 Returns true if the original points should be stored together with the reconstruction. More...
 
bool saveOriginalData () const
 Returns true if the original points should be stored together with the reconstruction. More...
 
bool savePointNormals () const
 Indicates whether to save the used points together with the interpolated normals. More...
 
bool savePointNormals () const
 Indicates whether to save the used points together with the interpolated normals. More...
 
bool texturesFromImages () const
 
bool texturesFromImages () const
 
bool useGPU () const
 
bool useGPU () const
 
bool useRansac () const
 If true, RANSAC based normal estimation is used. More...
 
bool useRansac () const
 If true, RANSAC based normal estimation is used. More...
 
bool vertexColorsFromPointcloud () const
 
bool vertexColorsFromPointcloud () const
 
bool writeClassificationResult () const
 True if region clustering without plane optimization is required. More...
 
bool writeClassificationResult () const
 True if region clustering without plane optimization is required. More...
 
virtual ~Options ()
 
virtual ~Options ()
 
- Public Member Functions inherited from lvr2::BaseOption
 BaseOption (int argc, char **argv)
 
CoordinateTransform< float > coordinateTransform () const
 
void printLogo () const
 
void printTransformation (std::ostream &out) const
 Prints transformation information to the given output stream. More...
 
float sx () const
 Returns the scaling factor for the x coordinates. More...
 
float sy () const
 Returns the scaling factor for the y coordinates. More...
 
float sz () const
 Returns the scaling factor for the z coordinates. More...
 
int x () const
 Returns the position of the x coordinate in the data. More...
 
int y () const
 Returns the position of the x coordinate in the data. More...
 
int z () const
 Returns the position of the x coordinate in the data. More...
 
virtual ~BaseOption ()
 

Private Attributes

string m_classifier
 Name of the classifier object to color the mesh. More...
 
int m_cleanContourIterations
 
unsigned int m_coherenceThreshold
 Coherence threshold for texture matching based on color information. More...
 
float m_colorThreshold
 Threshold for texture matching based on colors. More...
 
float m_edgeCollapseReductionRatio
 Reduction ratio for mesh reduction via edge collapse. More...
 
string m_faceNormalFile
 The putput file name for face normals. More...
 
float m_featuresThreshold
 Threshold for texture matching based on features. More...
 
int m_fillHoles
 Threshold for hole filling. More...
 
vector< float > m_flippoint
 
bool m_generateTextures
 Whether or not the mesh should be retesselated while being finalized. More...
 
int m_intersections
 The number of intersections used for reconstruction. More...
 
int m_kd
 The number of neighbors for distance function evaluation. More...
 
int m_ki
 The number of neighbors for normal interpolation. More...
 
int m_kn
 The number of neighbors for normal estimation. More...
 
float m_lineFusionThreshold
 Threshold for line fusing when tesselating. More...
 
int m_minimumTransformationVotes
 Minimum number of vote to consider a texture transformation as "correct". More...
 
int m_minPlaneSize
 Threshold for plane optimization. More...
 
int m_numberOfDefaults
 The number of used default values. More...
 
unsigned int m_numCCVColors
 Number of colors for texture matching based on color information. More...
 
unsigned int m_numStatsColors
 Number of colors for texture statistics. More...
 
int m_numThreads
 The number of uesed threads. More...
 
float m_patternThreshold
 Threshold for pattern extraction from textures. More...
 
string m_pcm
 The used point cloud manager. 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...
 
bool m_retesselate
 Whether or not the mesh should be retesselated while being finalized. More...
 
float m_sct
 Sharp corner threshold when using sharp feature decomposition. More...
 
float m_sft
 Sharp feature threshold when using sharp feature decomposition. More...
 
int m_smallRegionThreshold
 Threshold for small ragions. More...
 
string m_statsCoeffs
 Coefficents file for texture matching based on statistics. More...
 
float m_statsThreshold
 Threshold for texture matching based on statistics. More...
 
float m_texelSize
 Texel size. More...
 
int m_texMaxClusterSize
 
int m_texMinClusterSize
 Minimum number of textures of a cluster needed for generating textures. More...
 
string m_texturePack
 Path to texture pack. More...
 
bool m_useCrossCorr
 Whether to use texture matching based on cross correlation. More...
 
bool m_vertexColorsFromPointcloud
 Use pointcloud colors to paint vertices. More...
 
float m_voxelsize
 The set voxelsize. More...
 
bool m_writeClassificationResult
 Whether or not the classifier shall dump meta data to a file 'clusters.clu'. More...
 

Additional Inherited Members

- Protected Member Functions inherited from lvr2::BaseOption
virtual void setup ()
 Setup internal data structures. More...
 
void setupInputTransformation ()
 Setup transformation info for ModelIO. More...
 
- Protected Attributes inherited from lvr2::BaseOption
int m_argc
 Argument count. More...
 
char ** m_argv
 Argument values. More...
 
CoordinateTransform< float > * m_coordinateTransform
 Coordinate transform information. More...
 
options_description m_descr
 The internally used option description. More...
 
positional_options_description m_pdescr
 The internally used positional option desription. 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 59 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

Constructor & Destructor Documentation

◆ Options() [1/2]

Options::Options ( int  argc,
char **  argv 
)

Ctor. Parses the command parameters given to the main function of the program.

Definition at line 57 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ ~Options() [1/2]

Options::~Options ( )
virtual

◆ Options() [2/2]

reconstruct::Options::Options ( int  argc,
char **  argv 
)

Ctor. Parses the command parameters given to the main function of the program.

◆ ~Options() [2/2]

virtual reconstruct::Options::~Options ( )
virtual

Member Function Documentation

◆ clusterPlanes() [1/2]

bool Options::clusterPlanes ( ) const

True if region clustering without plane optimization is required.

Definition at line 299 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ clusterPlanes() [2/2]

bool reconstruct::Options::clusterPlanes ( ) const

True if region clustering without plane optimization is required.

◆ colorRegions() [1/2]

bool reconstruct::Options::colorRegions ( ) const

Returns true of region coloring is enabled.

◆ colorRegions() [2/2]

bool Options::colorRegions ( ) const

Returns true of region coloring is enabled.

Definition at line 316 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ doTextureAnalysis() [1/2]

bool Options::doTextureAnalysis ( ) const

True if texture analysis is enabled.

Definition at line 253 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ doTextureAnalysis() [2/2]

bool reconstruct::Options::doTextureAnalysis ( ) const

True if texture analysis is enabled.

◆ extrude() [1/2]

bool Options::extrude ( ) const

Whether to extend the grid. Enable by default.

Definition at line 304 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ extrude() [2/2]

bool reconstruct::Options::extrude ( ) const

Whether to extend the grid. Enable by default.

◆ filenameSet() [1/2]

bool reconstruct::Options::filenameSet ( ) const

Returns true if an output filen name was set.

◆ filenameSet() [2/2]

bool Options::filenameSet ( ) const

Returns true if an output filen name was set.

Definition at line 258 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ generateTextures() [1/2]

bool Options::generateTextures ( ) const

If true, textures will be generated during finalization of mesh.

Definition at line 326 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ generateTextures() [2/2]

bool reconstruct::Options::generateTextures ( ) const

If true, textures will be generated during finalization of mesh.

◆ getClassifier() [1/2]

string Options::getClassifier ( ) const

Returns the name of the classifier used to color the mesh.

Definition at line 187 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getClassifier() [2/2]

string reconstruct::Options::getClassifier ( ) const

Returns the name of the classifier used to color the mesh.

◆ getCleanContourIterations() [1/2]

int Options::getCleanContourIterations ( ) const

Number of iterations for contour cleanup.

Definition at line 341 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getCleanContourIterations() [2/2]

int reconstruct::Options::getCleanContourIterations ( ) const

Number of iterations for contour cleanup.

◆ getCoherenceThreshold() [1/2]

unsigned int Options::getCoherenceThreshold ( ) const

◆ getCoherenceThreshold() [2/2]

unsigned int reconstruct::Options::getCoherenceThreshold ( ) const

◆ getColorThreshold() [1/2]

float Options::getColorThreshold ( ) const

◆ getColorThreshold() [2/2]

float reconstruct::Options::getColorThreshold ( ) const

◆ getDanglingArtifacts() [1/2]

int Options::getDanglingArtifacts ( ) const

Returns the number of dangling artifacts to remove from a created mesh.

Definition at line 207 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getDanglingArtifacts() [2/2]

int reconstruct::Options::getDanglingArtifacts ( ) const

Returns the number of dangling artifacts to remove from a created mesh.

◆ getDecomposition() [1/2]

string Options::getDecomposition ( ) const

Returns the name of the used point cloud handler.

Definition at line 192 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getDecomposition() [2/2]

string reconstruct::Options::getDecomposition ( ) const

Returns the name of the used point cloud handler.

◆ getEdgeCollapseReductionRatio() [1/2]

float Options::getEdgeCollapseReductionRatio ( ) const

Reduction ratio for mesh reduction via edge collapse.

Definition at line 202 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getEdgeCollapseReductionRatio() [2/2]

float reconstruct::Options::getEdgeCollapseReductionRatio ( ) const

Reduction ratio for mesh reduction via edge collapse.

◆ getFeatureThreshold() [1/2]

float Options::getFeatureThreshold ( ) const

◆ getFeatureThreshold() [2/2]

float reconstruct::Options::getFeatureThreshold ( ) const

◆ getFillHoles() [1/2]

int Options::getFillHoles ( ) const

Returns the region threshold for hole filling.

Definition at line 212 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getFillHoles() [2/2]

int reconstruct::Options::getFillHoles ( ) const

Returns the region threshold for hole filling.

◆ getFlippoint() [1/2]

vector< float > Options::getFlippoint ( ) const

◆ getFlippoint() [2/2]

vector<float> reconstruct::Options::getFlippoint ( ) const

◆ getInputFileName() [1/2]

string Options::getInputFileName ( ) const

Returns the input file name.

Definition at line 167 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getInputFileName() [2/2]

string reconstruct::Options::getInputFileName ( ) const

Returns the input file name.

◆ getIntersections() [1/2]

int Options::getIntersections ( ) const

Returns the number of intersections. If the return value is positive it will be used for reconstruction instead of absolute voxelsize.

Definition at line 157 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getIntersections() [2/2]

int reconstruct::Options::getIntersections ( ) const

Returns the number of intersections. If the return value is positive it will be used for reconstruction instead of absolute voxelsize.

◆ getKd() [1/2]

int Options::getKd ( ) const

Returns the number of neighbors used for distance function evaluation.

Definition at line 147 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getKd() [2/2]

int reconstruct::Options::getKd ( ) const

Returns the number of neighbors used for distance function evaluation.

◆ getKi() [1/2]

int Options::getKi ( ) const

Returns the number of neighbors for normal interpolation.

Definition at line 142 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getKi() [2/2]

int reconstruct::Options::getKi ( ) const

Returns the number of neighbors for normal interpolation.

◆ getKn() [1/2]

int Options::getKn ( ) const

Returns the number of neighbors used for initial normal estimation.

Definition at line 152 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getKn() [2/2]

int reconstruct::Options::getKn ( ) const

Returns the number of neighbors used for initial normal estimation.

◆ getLineFusionThreshold() [1/2]

float Options::getLineFusionThreshold ( ) const

Returns the fusion threshold for tesselation.

Definition at line 351 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getLineFusionThreshold() [2/2]

float reconstruct::Options::getLineFusionThreshold ( ) const

Returns the fusion threshold for tesselation.

◆ getMinimumTransformationVotes() [1/2]

int Options::getMinimumTransformationVotes ( ) const

◆ getMinimumTransformationVotes() [2/2]

int reconstruct::Options::getMinimumTransformationVotes ( ) const

◆ getMinPlaneSize() [1/2]

int Options::getMinPlaneSize ( ) const

Minimum value for plane optimzation.

Definition at line 217 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getMinPlaneSize() [2/2]

int reconstruct::Options::getMinPlaneSize ( ) const

Minimum value for plane optimzation.

◆ getNormalThreshold() [1/2]

float Options::getNormalThreshold ( ) const

Returns the normal threshold for plane optimization.

Definition at line 331 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getNormalThreshold() [2/2]

float reconstruct::Options::getNormalThreshold ( ) const

Returns the normal threshold for plane optimization.

◆ getNumCCVColors() [1/2]

unsigned int Options::getNumCCVColors ( ) const

◆ getNumCCVColors() [2/2]

unsigned int reconstruct::Options::getNumCCVColors ( ) const

◆ getNumStatsColors() [1/2]

unsigned int Options::getNumStatsColors ( ) const

◆ getNumStatsColors() [2/2]

unsigned int reconstruct::Options::getNumStatsColors ( ) const

◆ getNumThreads() [1/2]

int Options::getNumThreads ( ) const

Returns the number of used threads.

Definition at line 137 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getNumThreads() [2/2]

int reconstruct::Options::getNumThreads ( ) const

Returns the number of used threads.

◆ getOutputFileName() [1/2]

string Options::getOutputFileName ( ) const

Returns the output file name.

Definition at line 172 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getOutputFileName() [2/2]

string reconstruct::Options::getOutputFileName ( ) const

Returns the output file name.

◆ getOutputFileNames() [1/2]

vector< string > Options::getOutputFileNames ( ) const

Returns the output file names.

Definition at line 177 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getOutputFileNames() [2/2]

vector<string> reconstruct::Options::getOutputFileNames ( ) const

Returns the output file names.

◆ getPatternThreshold() [1/2]

float Options::getPatternThreshold ( ) const

◆ getPatternThreshold() [2/2]

float reconstruct::Options::getPatternThreshold ( ) const

◆ getPCM() [1/2]

string Options::getPCM ( ) const

Returns the name of the used point cloud handler.

Definition at line 182 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getPCM() [2/2]

string reconstruct::Options::getPCM ( ) const

Returns the name of the used point cloud handler.

◆ getPlaneIterations() [1/2]

int Options::getPlaneIterations ( ) const

Returns to number plane optimization iterations.

Definition at line 162 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getPlaneIterations() [2/2]

int reconstruct::Options::getPlaneIterations ( ) const

Returns to number plane optimization iterations.

◆ getProjectDir() [1/2]

string Options::getProjectDir ( ) const

◆ getProjectDir() [2/2]

string reconstruct::Options::getProjectDir ( ) const

◆ getScanPoseFile() [1/2]

string Options::getScanPoseFile ( ) const

Returns the name of the given file with scan poses used for normal flipping.

Definition at line 197 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getScanPoseFile() [2/2]

string reconstruct::Options::getScanPoseFile ( ) const

Returns the name of the given file with scan poses used for normal flipping.

◆ getSharpCornerThreshold() [1/2]

float Options::getSharpCornerThreshold ( ) const

Returns the sharp corner threshold when using sharp feature decomposition.

Definition at line 132 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getSharpCornerThreshold() [2/2]

float reconstruct::Options::getSharpCornerThreshold ( ) const

Returns the sharp corner threshold when using sharp feature decomposition.

◆ getSharpFeatureThreshold() [1/2]

float Options::getSharpFeatureThreshold ( ) const

Returns the sharp feature threshold when using sharp feature decomposition.

Definition at line 127 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getSharpFeatureThreshold() [2/2]

float reconstruct::Options::getSharpFeatureThreshold ( ) const

Returns the sharp feature threshold when using sharp feature decomposition.

◆ getSmallRegionThreshold() [1/2]

int Options::getSmallRegionThreshold ( ) const

Returns the threshold for the size of small region deletion after plane optimization.

Definition at line 336 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getSmallRegionThreshold() [2/2]

int reconstruct::Options::getSmallRegionThreshold ( ) const

Returns the threshold for the size of small region deletion after plane optimization.

◆ getStatsCoeffs() [1/2]

float * Options::getStatsCoeffs ( ) const

◆ getStatsCoeffs() [2/2]

float* reconstruct::Options::getStatsCoeffs ( ) const

◆ getStatsThreshold() [1/2]

float Options::getStatsThreshold ( ) const

◆ getStatsThreshold() [2/2]

float reconstruct::Options::getStatsThreshold ( ) const

◆ getTexelSize() [1/2]

float Options::getTexelSize ( ) const

Returns the texel size for texture resolution.

Definition at line 346 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getTexelSize() [2/2]

float reconstruct::Options::getTexelSize ( ) const

Returns the texel size for texture resolution.

◆ getTexMaxClusterSize() [1/2]

int Options::getTexMaxClusterSize ( ) const

◆ getTexMaxClusterSize() [2/2]

int reconstruct::Options::getTexMaxClusterSize ( ) const

◆ getTexMinClusterSize() [1/2]

int Options::getTexMinClusterSize ( ) const

◆ getTexMinClusterSize() [2/2]

int reconstruct::Options::getTexMinClusterSize ( ) const

◆ getTexturePack() [1/2]

string Options::getTexturePack ( ) const

◆ getTexturePack() [2/2]

string reconstruct::Options::getTexturePack ( ) const

◆ getUseCrossCorr() [1/2]

bool Options::getUseCrossCorr ( ) const

◆ getUseCrossCorr() [2/2]

bool reconstruct::Options::getUseCrossCorr ( ) const

◆ getVoxelsize() [1/2]

float Options::getVoxelsize ( ) const

Returns the given voxelsize.

Definition at line 122 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ getVoxelsize() [2/2]

float reconstruct::Options::getVoxelsize ( ) const

Returns the given voxelsize.

◆ optimizePlanes() [1/2]

bool Options::optimizePlanes ( ) const

Returns true if cluster optimization is enabled.

Definition at line 293 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ optimizePlanes() [2/2]

bool reconstruct::Options::optimizePlanes ( ) const

Returns true if cluster optimization is enabled.

◆ printUsage() [1/2]

bool Options::printUsage ( ) const

Prints a usage message to stdout.

Definition at line 223 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ printUsage() [2/2]

bool reconstruct::Options::printUsage ( ) const

Prints a usage message to stdout.

◆ recalcNormals() [1/2]

bool Options::recalcNormals ( ) const

If true, normals should be calculated even if they are already given in the input file.

Definition at line 263 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ recalcNormals() [2/2]

bool reconstruct::Options::recalcNormals ( ) const

If true, normals should be calculated even if they are already given in the input file.

◆ retesselate() [1/2]

bool Options::retesselate ( ) const

Return whether the mesh should be retesselated or not.

Definition at line 321 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ retesselate() [2/2]

bool reconstruct::Options::retesselate ( ) const

Return whether the mesh should be retesselated or not.

◆ saveFaceNormals() [1/2]

bool reconstruct::Options::saveFaceNormals ( ) const

Returns true if the face normals of the reconstructed mesh should be saved to an extra file ("face_normals.nor")

◆ saveFaceNormals() [2/2]

bool Options::saveFaceNormals ( ) const

Returns true if the face normals of the reconstructed mesh should be saved to an extra file ("face_normals.nor")

Definition at line 242 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ saveGrid() [1/2]

bool Options::saveGrid ( ) const

Returns true if the Marching Cubes grid should be save.

Definition at line 278 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ saveGrid() [2/2]

bool reconstruct::Options::saveGrid ( ) const

Returns true if the Marching Cubes grid should be save.

◆ saveNormals() [1/2]

bool Options::saveNormals ( ) const

Returns true if the interpolated normals should be saved in the putput file.

Definition at line 273 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ saveNormals() [2/2]

bool reconstruct::Options::saveNormals ( ) const

Returns true if the interpolated normals should be saved in the putput file.

◆ saveOriginalData() [1/2]

bool Options::saveOriginalData ( ) const

Returns true if the original points should be stored together with the reconstruction.

Definition at line 288 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ saveOriginalData() [2/2]

bool reconstruct::Options::saveOriginalData ( ) const

Returns true if the original points should be stored together with the reconstruction.

◆ savePointNormals() [1/2]

bool Options::savePointNormals ( ) const

Indicates whether to save the used points together with the interpolated normals.

Definition at line 268 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ savePointNormals() [2/2]

bool reconstruct::Options::savePointNormals ( ) const

Indicates whether to save the used points together with the interpolated normals.

◆ texturesFromImages() [1/2]

bool Options::texturesFromImages ( ) const

◆ texturesFromImages() [2/2]

bool reconstruct::Options::texturesFromImages ( ) const

◆ useGPU() [1/2]

bool Options::useGPU ( ) const

◆ useGPU() [2/2]

bool reconstruct::Options::useGPU ( ) const

◆ useRansac() [1/2]

bool Options::useRansac ( ) const

If true, RANSAC based normal estimation is used.

Definition at line 283 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ useRansac() [2/2]

bool reconstruct::Options::useRansac ( ) const

If true, RANSAC based normal estimation is used.

◆ vertexColorsFromPointcloud() [1/2]

bool Options::vertexColorsFromPointcloud ( ) const

◆ vertexColorsFromPointcloud() [2/2]

bool reconstruct::Options::vertexColorsFromPointcloud ( ) const

◆ writeClassificationResult() [1/2]

bool Options::writeClassificationResult ( ) const

True if region clustering without plane optimization is required.

Definition at line 247 of file src/tools/lvr2_largescale_reconstruct/Options.cpp.

◆ writeClassificationResult() [2/2]

bool reconstruct::Options::writeClassificationResult ( ) const

True if region clustering without plane optimization is required.

Member Data Documentation

◆ m_classifier

string Options::m_classifier
private

Name of the classifier object to color the mesh.

Definition at line 399 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_cleanContourIterations

int Options::m_cleanContourIterations
private

◆ m_coherenceThreshold

unsigned int Options::m_coherenceThreshold
private

Coherence threshold for texture matching based on color information.

Definition at line 417 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_colorThreshold

float Options::m_colorThreshold
private

Threshold for texture matching based on colors.

Definition at line 420 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_edgeCollapseReductionRatio

float Options::m_edgeCollapseReductionRatio
private

Reduction ratio for mesh reduction via edge collapse.

Definition at line 402 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_faceNormalFile

string Options::m_faceNormalFile
private

The putput file name for face normals.

Definition at line 337 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_featuresThreshold

float Options::m_featuresThreshold
private

Threshold for texture matching based on features.

Definition at line 426 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_fillHoles

int Options::m_fillHoles
private

Threshold for hole filling.

Definition at line 379 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_flippoint

vector< float > Options::m_flippoint
private

◆ m_generateTextures

bool Options::m_generateTextures
private

Whether or not the mesh should be retesselated while being finalized.

Definition at line 358 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_intersections

int Options::m_intersections
private

The number of intersections used for reconstruction.

Definition at line 352 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_kd

int Options::m_kd
private

The number of neighbors for distance function evaluation.

Definition at line 343 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_ki

int Options::m_ki
private

The number of neighbors for normal interpolation.

Definition at line 349 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_kn

int Options::m_kn
private

The number of neighbors for normal estimation.

Definition at line 346 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_lineFusionThreshold

float Options::m_lineFusionThreshold
private

Threshold for line fusing when tesselating.

Definition at line 390 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_minimumTransformationVotes

int Options::m_minimumTransformationVotes
private

Minimum number of vote to consider a texture transformation as "correct".

Definition at line 435 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_minPlaneSize

int Options::m_minPlaneSize
private

Threshold for plane optimization.

Definition at line 382 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_numberOfDefaults

int Options::m_numberOfDefaults
private

The number of used default values.

Definition at line 340 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_numCCVColors

unsigned int Options::m_numCCVColors
private

Number of colors for texture matching based on color information.

Definition at line 414 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_numStatsColors

unsigned int Options::m_numStatsColors
private

Number of colors for texture statistics.

Definition at line 411 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_numThreads

int Options::m_numThreads
private

The number of uesed threads.

Definition at line 334 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_patternThreshold

float Options::m_patternThreshold
private

Threshold for pattern extraction from textures.

Definition at line 432 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_pcm

string Options::m_pcm
private

The used point cloud manager.

Definition at line 364 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_planeIterations

int Options::m_planeIterations
private

Number of iterations for plane optimzation.

Definition at line 367 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_planeNormalThreshold

float Options::m_planeNormalThreshold
private

Threshold for plane optimization.

Definition at line 370 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_rda

int Options::m_rda
private

Number of dangling artifacts to remove.

Definition at line 376 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_retesselate

bool Options::m_retesselate
private

Whether or not the mesh should be retesselated while being finalized.

Definition at line 355 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_sct

float Options::m_sct
private

Sharp corner threshold when using sharp feature decomposition.

Definition at line 396 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_sft

float Options::m_sft
private

Sharp feature threshold when using sharp feature decomposition.

Definition at line 393 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_smallRegionThreshold

int Options::m_smallRegionThreshold
private

Threshold for small ragions.

Definition at line 373 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_statsCoeffs

string Options::m_statsCoeffs
private

Coefficents file for texture matching based on statistics.

Definition at line 408 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_statsThreshold

float Options::m_statsThreshold
private

Threshold for texture matching based on statistics.

Definition at line 423 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_texelSize

float Options::m_texelSize
private

Texel size.

Definition at line 387 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_texMaxClusterSize

int Options::m_texMaxClusterSize
private

◆ m_texMinClusterSize

int Options::m_texMinClusterSize
private

Minimum number of textures of a cluster needed for generating textures.

Definition at line 438 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_texturePack

string Options::m_texturePack
private

Path to texture pack.

Definition at line 405 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_useCrossCorr

bool Options::m_useCrossCorr
private

Whether to use texture matching based on cross correlation.

Definition at line 429 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_vertexColorsFromPointcloud

bool Options::m_vertexColorsFromPointcloud
private

Use pointcloud colors to paint vertices.

Definition at line 443 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_voxelsize

float Options::m_voxelsize
private

The set voxelsize.

Definition at line 331 of file src/tools/lvr2_largescale_reconstruct/Options.hpp.

◆ m_writeClassificationResult

bool Options::m_writeClassificationResult
private

Whether or not the classifier shall dump meta data to a file 'clusters.clu'.

Definition at line 361 of file src/tools/lvr2_largescale_reconstruct/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:12