55 int main(
int argc,
char **argv)
58 for(
int i=1; i < argc; i++)
60 if (strcmp(argv[i],
"--path") == 0 && i+1 < argc)
66 cerr <<
"Missing the flag --path ./path/to/examples/data\n Please give the path to the test data folder which should be included with the source code. The folder is named 'examples/data'." << endl;
78 validT2d << 0.987498, 0.157629, 0.0859918,
79 -0.157629, 0.987498, 0.203247,
83 validT3d << 0.982304, 0.166685, -0.0854066, 0.0446816,
84 -0.150189, 0.973488, 0.172524, 0.191998,
85 0.111899, -0.156644, 0.981296, -0.0356313,
PM::TransformationParameters validT3d
Functions and classes that are not dependant on scalar type are defined in this namespace.
void InitGoogleTest(int *argc, char **argv)
int main(int argc, char **argv)
PM::TransformationParameters validT2d
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
static DataPoints load(const std::string &fileName)
Load a point cloud from a file, determine format from extension.
Matrix TransformationParameters
A matrix holding the parameters a transformation.