* Display help for this program * @param argc[in] * @param argv[in] */
| 65 | * @param argv[in] |
| 66 | */ |
| 67 | void |
| 68 | displayHelp (int, |
| 69 | char** argv) |
| 70 | { |
| 71 | PCL_INFO ("\nUsage: %s [OPTION] SOURCE DEST\n", argv[0]); |
| 72 | PCL_INFO ("Convert SOURCE point cloud or mesh to DEST.\n\n"); |
| 73 | |
| 74 | PCL_INFO ("Available formats types for SOURCE and DEST:\n" |
| 75 | "\tOBJ (Wavefront)\n" |
| 76 | "\tPCD (Point Cloud Library)\n" |
| 77 | "\tPLY (Polygon File Format)\n" |
| 78 | "\tSTL (STereoLithography)\n" |
| 79 | "\tVTK (The Visualization Toolkit)\n\n"); |
| 80 | |
| 81 | PCL_INFO ("Available options:\n" |
| 82 | "\t-f, --format Specify DEST output type, available formats are ascii, binary and binary_compressed.\n" |
| 83 | "\t When not specified, binary is used as default.\n" |
| 84 | "\t OBJ only supports ascii format.\n" |
| 85 | "\t binary_compressed is only supported by the PCD file format.\n\n" |
| 86 | "\t-c --cloud Output DEST as a point cloud, delete all faces.\n\n"); |
| 87 | } |
| 88 | |
| 89 | bool |
| 90 | saveMesh (pcl::PolygonMesh& input, |