Go to the documentation of this file.
42 : m_descr(
"Supported options"), m_argc(
argc), m_argv(
argv)
45 (
"xPos,x", value<int>()->default_value(0),
"Position of the x-coordinates in the input point data (according to screen coordinates).")
46 (
"yPos,y", value<int>()->default_value(1),
"Position of the y-coordinates in the input data lines (according to screen coordinates).")
47 (
"zPos,z", value<int>()->default_value(2),
"Position of the z-coordinates in the input data lines (according to screen coordinates).")
48 (
"sx", value<float>()->default_value(1.0f),
"Scaling factor for the x coordinates.")
49 (
"sy", value<float>()->default_value(1.0f),
"Scaling factor for the y coordinates.")
50 (
"sz", value<float>()->default_value(1.0f),
"Scaling factor for the z coordinates.")
62 out <<
"##### Program options: " << std::endl;
65 out <<
"##### Transform input data\t: YES" << std::endl;
66 out <<
"##### Position of x coordinates\t: " <<
x() << std::endl;
67 out <<
"##### Position of y coordinates\t: " <<
y() << std::endl;
68 out <<
"##### Position of z coordinates\t: " <<
z() << std::endl;
69 out <<
"##### X-Scale\t\t\t: " <<
sx() << std::endl;
70 out <<
"##### Y-Scale\t\t\t: " <<
sy() << std::endl;
71 out <<
"##### Z-Scale\t\t\t: " <<
sz() << std::endl;
75 out <<
"##### Transform input data\t: NO" << std::endl;
92 if(
sx() != 1.0 ||
sy() != 1.0 ||
sz() != 0 ||
x() != 1 ||
y() != 1 ||
z() != 1)
112 std::string logo = R
"(
114 / \ ## ## ## ####### ######
115 / \ ## ## ## ## ## ## ##
116 / \ ## ## ## ## ## ##
117 /________\ ## ## ## ## ## ##
118 /\ /\ ## ## ## ####### ##
119 / \ / \ ## ## ## ## ## ##
120 / \ / \ ## #### ## ## ##
121 / \ / \ ########## ## ## ## ##########
125 std::cout << logo << std::endl;
int z() const
Returns the position of the x coordinate in the data.
positional_options_description m_pdescr
The internally used positional option desription.
void printTransformation(std::ostream &out) const
Prints transformation information to the given output stream.
int x() const
Returns the position of the x coordinate in the data.
void setupInputTransformation()
Setup transformation info for ModelIO.
CoordinateTransform< float > coordinateTransform() const
variables_map m_variables
The internally used variable map.
int y() const
Returns the position of the x coordinate in the data.
const kaboom::Options * options
static CoordinateTransform< float > m_transform
float sx() const
Returns the scaling factor for the x coordinates.
BaseOption(int argc, char **argv)
float sy() const
Returns the scaling factor for the y coordinates.
char ** m_argv
Argument values.
CoordinateTransform< float > * m_coordinateTransform
Coordinate transform information.
virtual void setup()
Setup internal data structures.
options_description m_descr
The internally used option description.
float sz() const
Returns the scaling factor for the z coordinates.
int m_argc
Argument count.
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 Wed Mar 2 2022 00:37:22