MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / displayHelp

Function displayHelp

tools/converter.cpp:67–87  ·  view source on GitHub ↗

* Display help for this program * @param argc[in] * @param argv[in] */

Source from the content-addressed store, hash-verified

65 * @param argv[in]
66 */
67void
68displayHelp (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
89bool
90saveMesh (pcl::PolygonMesh& input,

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected