39 #define vc(x) ( m_variables.count(x) ) 40 #define srtOR ( !vc("sx") && !vc("sy") && !vc("sz") && \ 41 !vc("rx") && !vc("ry") && !vc("rz") && \ 42 !vc("tx") && !vc("ty") && !vc("tz") ) 51 (
"help",
"Produce help message")
52 (
"inputFile,i", value< string >(),
"Input file name.")
53 (
"outputFile,o", value< string >(),
"Output file name. Don't forget to append a file extension.")
54 (
"transformFile,t", value< string >(),
"*.pose or *.frame file for transformation")
56 (
"sx", value< float >(),
"Scale in x axis.")
57 (
"sy", value< float >(),
"Scale in y axis.")
58 (
"sz", value< float >(),
"Scale in z axis.")
61 (
"rx", value< float >(),
"Rotation in x axis.")
62 (
"ry", value< float >(),
"Rotation in y axis.")
63 (
"rz", value< float >(),
"Rotation in z axis.")
66 (
"tx", value< float >(),
"Transform in x axis.")
67 (
"ty", value< float >(),
"Transform in y axis.")
68 (
"tz", value< float >(),
"Transform in z axis.")
94 return (
m_variables[
"transformFile"].as< string >());
211 cout <<
"Error: You must specify an input file." << endl;
219 cout <<
"Error: You must specify an output file." << endl;
229 cout <<
"Error: You must specify a transform file or sx, sy, sz, rx, ry, rz, tx, ty, tz." << endl;
const kaboom::Options * options