9 using boost::program_options::command_line_parser;
10 using boost::program_options::value;
18 "Produce help message")
19 (
"chunkedMesh", boost::program_options::bool_switch()->default_value(
false),
"Is a chunked Mesh")
20 (
"inputFile", value< std::vector<string> >(),
"Input file name. Supported formats are ASCII (.pts, .xyz) and .ply")
21 (
"layers", value<std::vector<string>>()->multitoken(),
"Input file names.")
22 (
"cacheSize", value<int>()->default_value(200),
"Multilayer chunked mesh the maximum number of high resolution chunks in RAM")
23 (
"highResDistance", value<float>()->default_value(150.0f),
"The distance of the far plane for the high resolution");
40 cout <<
"Error: You must specify an input file." << endl;
56 return (
m_variables[
"inputFile"].as< std::vector<string> >())[0];
62 return m_variables[
"layers"].as<std::vector<string>>();
66 return std::vector<std::string>({
"mesh0, mesh1"});