49 m_descr.add_options()(
"help",
"Produce help message")(
51 value<vector<string>>(),
52 "Input file name. Supported formats are .obj and .ply")(
55 "Percentage of faces to remove via edge-collapse (0.0 means no reduction, 1.0 means to " 56 "remove all faces which can be removed)");
62 return (
m_variables[
"inputFile"].as<vector<string>>())[0];
80 cout <<
"Error: You must specify an input file." << endl;
string getInputFileName() const
Returns the output file name.
virtual void setup()
Setup internal data structures.
options_description m_descr
The internally used option description.
float getEdgeCollapseReductionRatio() const
Reduction ratio for mesh reduction via edge collapse.
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
variables_map m_variables
The internally used variable map.
float m_edgeCollapseReductionRatio