convert-pointset <input>... <output> [options]
Convert point set from one (file) format to another.
If more than one input point sets is given, all input point sets are appended into a single point set before conversion. When all input point sets are of type vtkPolyData, the output point set is of type vtkPolyData. If more than one input point set is given and not all are of type vtkPolyData, the output point set is of type vtkUnstructuredGrid.
The current implementation can only convert between different point set file formats based on the file name extension. Besides the common formats supported by VTK, it can also read/write BrainSuite .dfs files and write a Piecewise Linear Complex (PLC) B-Rep description in the TetGen formats .poly and .smesh. It also supports the Object File Format (.off) used by the CGAL library.
Input point set file (.vtk, .vtp, .vtu, .stl, .ply, .off, .dfs, .obj).
Output point set file (.vtk, .vtp, .vtu, .stl, .ply, .off, .dfs, .node, .poly, .smesh).
Merge points of non-polygonal input point sets. (default: off)
Add a point inside the input surface meshes, except off the first input mesh, to the hole list of the output .poly or .smesh file. (default: no holes)
Do not write cell data to output file. (default: off)
Do not write point data to output file. (default: off)
Write legacy VTK files encoded in ASCII. (default: off)
Write legacy VTK files in binary form. (default: on)
Compress XML VTK files. (default: on)
Do not compress XML VTK files. (default: off)
Increase/Set verbosity of output messages. (default: 0)
Increase/Set debug level for output of intermediate results. (default: 0)
Print version and exit or set version to emulate.
Print revision (or version) number only and exit.
Print help and exit.