46 (
"help",
"Produce help message")
47 (
"inputFile", value< vector<string> >(),
"An ASCII-File containing point cloud data.")
48 (
"outputFile,o", value<string>()->default_value(
"out.txt"),
"Name of the generated output file.")
49 (
"xPos,x", value<int>()->default_value(0),
"Position of the x-coordinates in the input data lines.")
50 (
"yPos,y", value<int>()->default_value(1),
"Position of the y-coordinates in the input data lines.")
51 (
"zPos,z", value<int>()->default_value(2),
"Position of the z-coordinates in the input data lines.")
52 (
"sx", value<float>()->default_value(1.0),
"Scaling factor for the x coordinates.")
53 (
"sy", value<float>()->default_value(1.0),
"Scaling factor for the y coordinates.")
54 (
"sz", value<float>()->default_value(1.0),
"Scaling factor for the z coordinates.")
55 (
"rPos,r", value<int>()->default_value(-1),
"Position of the red color component in the input data lines. (-1) means no color information")
56 (
"gPos,g", value<int>()->default_value(-1),
"Position of the green color component in the input data lines. (-1) means no color information")
57 (
"bPos,b", value<int>()->default_value(-1),
"Position of the blue color component in the input data lines. (-1) means no color information")
58 (
"iPos,i", value<int>()->default_value(-1),
"Position of the intensity information input data lines. (-1) means no intensity information")
59 (
"convert,c",
"Convert intensity into color")
69 ::std::cout<<
m_descr << ::std::endl;
83 return (
m_variables[
"inputFile"].as< vector<string> >())[0];
95 cout <<
"Error: You must specify an input file." << endl;
const kaboom::Options * options
bool printUsage() const
Prints a usage message.
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
bool convertRemission() const
If true, intinesites will be converted to colors.
string outputFile() const
Retuns the input file.
string inputFile() const
Retuns the input file.
positional_options_description m_pdescr
The internally used positional option desription.
variables_map m_variables
The internally used variable map.
options_description m_descr
The internally used option description.