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

Function printHelp

tools/mesh_sampling.cpp:189–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187constexpr float default_leaf_size = 0.01f;
188
189void
190printHelp (int, char **argv)
191{
192 print_error ("Syntax is: %s input.{ply,obj} output.pcd <options>\n", argv[0]);
193 print_info (" where options are:\n");
194 print_info (" -n_samples X = number of samples (default: ");
195 print_value ("%d", default_number_samples);
196 print_info (")\n");
197 print_info (
198 " -leaf_size X = the XYZ leaf size for the VoxelGrid -- for data reduction (default: ");
199 print_value ("%f", default_leaf_size);
200 print_info (" m)\n");
201 print_info (" -write_normals = flag to write normals to the output pcd\n");
202 print_info (" -write_colors = flag to write colors to the output pcd\n");
203 print_info (
204 " -no_vis_result = flag to stop visualizing the generated pcd\n");
205}
206
207/* ---[ */
208int

Callers 1

mainFunction · 0.70

Calls 1

print_valueFunction · 0.85

Tested by

no test coverage detected