Go to the documentation of this file.
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;
int main(int argc, char *argv[])
PM::DataPoints DataPoints
PM::DataPointsFilters DataPointsFilters
void setLogger(std::shared_ptr< Logger > newLogger)
Set a new logger, protected by a mutex.
std::shared_ptr< Interface > create(const std::string &name, const Parametrizable::Parameters ¶ms=Parametrizable::Parameters()) const
Create an instance.
void save(const std::string &fileName, bool binary=false, unsigned precision=7) const
Save a point cloud to a file, determine format from extension.
static const PointMatcher & get()
Return instances.
Functions and classes that are not dependant on scalar type are defined in this namespace.
static DataPoints load(const std::string &fileName)
Load a point cloud from a file, determine format from extension.
A factor for subclasses of Interface.