#include <BaseOption.hpp>
Public Member Functions | |
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 () |
Protected Member Functions | |
virtual void | setup () |
Setup internal data structures. More... | |
void | setupInputTransformation () |
Setup transformation info for ModelIO. More... | |
Protected Attributes | |
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... | |
Definition at line 48 of file BaseOption.hpp.
lvr2::BaseOption::BaseOption | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 41 of file BaseOption.cpp.
|
virtual |
Definition at line 105 of file BaseOption.cpp.
CoordinateTransform< float > lvr2::BaseOption::coordinateTransform | ( | ) | const |
Returns the coordinate system transformation stored in the option
Definition at line 55 of file BaseOption.cpp.
void lvr2::BaseOption::printLogo | ( | ) | const |
Definition at line 110 of file BaseOption.cpp.
void lvr2::BaseOption::printTransformation | ( | std::ostream & | out | ) | const |
Prints transformation information to the given output stream.
Definition at line 60 of file BaseOption.cpp.
|
protectedvirtual |
Setup internal data structures.
Definition at line 84 of file BaseOption.cpp.
|
protected |
Setup transformation info for ModelIO.
Definition at line 79 of file BaseOption.cpp.
|
inline |
Returns the scaling factor for the x coordinates.
Definition at line 62 of file BaseOption.hpp.
|
inline |
Returns the scaling factor for the y coordinates.
Definition at line 67 of file BaseOption.hpp.
|
inline |
Returns the scaling factor for the z coordinates.
Definition at line 72 of file BaseOption.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 77 of file BaseOption.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 82 of file BaseOption.hpp.
|
inline |
Returns the position of the x coordinate in the data.
Definition at line 87 of file BaseOption.hpp.
|
protected |
Argument count.
Definition at line 116 of file BaseOption.hpp.
|
protected |
Argument values.
Definition at line 119 of file BaseOption.hpp.
|
protected |
Coordinate transform information.
Definition at line 113 of file BaseOption.hpp.
|
protected |
The internally used option description.
Definition at line 107 of file BaseOption.hpp.
|
protected |
The internally used positional option desription.
Definition at line 110 of file BaseOption.hpp.
|
protected |
The internally used variable map.
Definition at line 104 of file BaseOption.hpp.