A class to parse the program options for the reconstruction executable. More...
#include <Options.hpp>
Public Member Functions | |
| int | b () |
| Returns the position of the x coordinate in the data. More... | |
| bool | convertRemission () const |
| If true, intinesites will be converted to colors. More... | |
| int | g () |
| Returns the position of the x coordinate in the data. More... | |
| int | i () |
| Returns the position of the x coordinate in the data. More... | |
| string | inputFile () const |
| Retuns the input file. More... | |
| Options (int argc, char **argv) | |
| Ctor. Parses the command parameters given to the main function of the program. More... | |
| string | outputFile () const |
| Retuns the input file. More... | |
| bool | printUsage () const |
| Prints a usage message. More... | |
| int | r () |
| Returns the position of the x coordinate in the data. More... | |
| float | sx () |
| Returns the scaling factor for the x coordinates. More... | |
| float | sy () |
| Returns the scaling factor for the y coordinates. More... | |
| float | sz () |
| Returns the scaling factor for the z coordinates. More... | |
| int | x () |
| Returns the position of the x coordinate in the data. More... | |
| int | y () |
| Returns the position of the x coordinate in the data. More... | |
| int | z () |
| Returns the position of the x coordinate in the data. More... | |
| virtual | ~Options () |
Private Attributes | |
| options_description | m_descr |
| The internally used option description. More... | |
| string | m_outputFile |
| Output file name. 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_asciiconverter/Options.hpp.
| Options::Options | ( | int | argc, |
| char ** | argv | ||
| ) |
Ctor. Parses the command parameters given to the main function of the program.
Definition at line 40 of file src/tools/lvr2_asciiconverter/Options.cpp.
|
virtual |
Definition at line 110 of file src/tools/lvr2_asciiconverter/Options.cpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 97 of file src/tools/lvr2_asciiconverter/Options.hpp.
| bool Options::convertRemission | ( | ) | const |
If true, intinesites will be converted to colors.
Definition at line 76 of file src/tools/lvr2_asciiconverter/Options.cpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 92 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 102 of file src/tools/lvr2_asciiconverter/Options.hpp.
| string Options::inputFile | ( | ) | const |
Retuns the input file.
Definition at line 81 of file src/tools/lvr2_asciiconverter/Options.cpp.
| string Options::outputFile | ( | ) | const |
Retuns the input file.
Definition at line 86 of file src/tools/lvr2_asciiconverter/Options.cpp.
| bool Options::printUsage | ( | ) | const |
Prints a usage message.
Definition at line 91 of file src/tools/lvr2_asciiconverter/Options.cpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 87 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the scaling factor for the x coordinates.
Definition at line 108 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the scaling factor for the y coordinates.
Definition at line 113 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the scaling factor for the z coordinates.
Definition at line 118 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 72 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 77 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 82 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
private |
The internally used option description.
Definition at line 150 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
private |
Output file name.
Definition at line 144 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
private |
The internally used positional option desription.
Definition at line 153 of file src/tools/lvr2_asciiconverter/Options.hpp.
|
private |
The internally used variable map.
Definition at line 147 of file src/tools/lvr2_asciiconverter/Options.hpp.