A class to parse the program options for the reconstruction executable. More...
#include <Options.hpp>
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... | |
A class to parse the program options for the reconstruction executable.
Definition at line 59 of file src/tools/lvr2_mesh_reducer/Options.hpp.
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.
|
virtual |
Definition at line 88 of file src/tools/lvr2_mesh_reducer/Options.cpp.
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.
string Options::getInputFileName | ( | ) | const |
Returns the output file name.
Definition at line 60 of file src/tools/lvr2_mesh_reducer/Options.cpp.
bool Options::printUsage | ( | ) | const |
Definition at line 70 of file src/tools/lvr2_mesh_reducer/Options.cpp.
|
private |
Definition at line 82 of file src/tools/lvr2_mesh_reducer/Options.hpp.