49 cerr <<
"Usage " << argv[0] <<
" [CONFIG.yaml] INPUT.csv/.vtk/.ply OUTPUT.csv/.vtk/.ply" << endl;
50 cerr << endl <<
"Example:" << endl;
51 cerr << argv[0] <<
" ../examples/data/default-convert.yaml ../examples/data/cloud.00000.vtk /tmp/output.vtk" << endl << endl;
52 cerr <<
" or " << endl;
53 cerr << argv[0] <<
"../examples/data/cloud.00000.vtk /tmp/output.csv" << endl << endl;
57 int main(
int argc,
char *argv[])
71 ifstream ifs(argv[1]);
74 cerr <<
"Cannot open config file " << argv[1] << endl;
std::shared_ptr< Interface > create(const std::string &name, const Parametrizable::Parameters ¶ms=Parametrizable::Parameters()) const
Create an instance.
A factor for subclasses of Interface.
void setLogger(std::shared_ptr< Logger > newLogger)
Set a new logger, protected by a mutex.
int main(int argc, char *argv[])
PM::DataPoints DataPoints
Functions and classes that are not dependant on scalar type are defined in this namespace.
static const PointMatcher & get()
Return instances.
static DataPoints load(const std::string &fileName)
Load a point cloud from a file, determine format from extension.
PM::DataPointsFilters DataPointsFilters