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

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

#include <Options.hpp>

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

Public Member Functions

float getEdgeCollapseReductionRatio () const
 Reduction ratio for mesh reduction via edge collapse. More...
 
string getInputFileName () const
 Returns the output file name. More...
 
 Options (int argc, char **argv)
 Ctor. Parses the command parameters given to the main function of the program. More...
 
bool printUsage () const
 
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

float m_edgeCollapseReductionRatio
 

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_mesh_reducer/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 46 of file src/tools/lvr2_mesh_reducer/Options.cpp.

◆ ~Options()

Options::~Options ( )
virtual

Definition at line 88 of file src/tools/lvr2_mesh_reducer/Options.cpp.

Member Function Documentation

◆ getEdgeCollapseReductionRatio()

float Options::getEdgeCollapseReductionRatio ( ) const

Reduction ratio for mesh reduction via edge collapse.

Definition at line 65 of file src/tools/lvr2_mesh_reducer/Options.cpp.

◆ getInputFileName()

string Options::getInputFileName ( ) const

Returns the output file name.

Definition at line 60 of file src/tools/lvr2_mesh_reducer/Options.cpp.

◆ printUsage()

bool Options::printUsage ( ) const

Definition at line 70 of file src/tools/lvr2_mesh_reducer/Options.cpp.

Member Data Documentation

◆ m_edgeCollapseReductionRatio

float meshreduce::Options::m_edgeCollapseReductionRatio
private

Definition at line 82 of file src/tools/lvr2_mesh_reducer/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