35 #ifndef INCLUDE_LIBLVR2_CONFIG_BASEOPTION_HPP_ 36 #define INCLUDE_LIBLVR2_CONFIG_BASEOPTION_HPP_ 38 #include <boost/program_options.hpp> 57 void printTransformation(std::ostream& out)
const;
62 float sx()
const {
return m_variables[
"sx"].as<
float>();}
67 float sy()
const {
return m_variables[
"sy"].as<
float>();}
72 float sz()
const {
return m_variables[
"sz"].as<
float>();}
77 int x()
const {
return m_variables[
"xPos"].as<
int>();}
82 int y()
const {
return m_variables[
"yPos"].as<
int>();}
87 int z()
const {
return m_variables[
"zPos"].as<
int>();}
93 void printLogo()
const;
101 void setupInputTransformation();
char ** m_argv
Argument values.
float sz() const
Returns the scaling factor for the z coordinates.
float sy() const
Returns the scaling factor for the y coordinates.
CoordinateTransform< float > * m_coordinateTransform
Coordinate transform information.
options_description m_descr
The internally used option description.
int y() const
Returns the position of the x coordinate in the data.
float sx() const
Returns the scaling factor for the x coordinates.
positional_options_description m_pdescr
The internally used positional option desription.
variables_map m_variables
The internally used variable map.
int z() const
Returns the position of the x coordinate in the data.
int x() const
Returns the position of the x coordinate in the data.
int m_argc
Argument count.