| 54 | |
| 55 | |
| 56 | void |
| 57 | printHelp (int, char **argv) |
| 58 | { |
| 59 | print_error ("Syntax is: %s input.pcd output.pcd <options>\n", argv[0]); |
| 60 | print_info (" where options are:\n"); |
| 61 | print_info (" -radius X = sphere radius to be used for finding the k-nearest neighbors used for fitting (default: "); |
| 62 | print_value ("%f", default_search_radius); print_info (")\n"); |
| 63 | print_info (" -sqr_gauss_param X = parameter used for the distance based weighting of neighbors (recommended = search_radius^2) (default: "); |
| 64 | print_value ("%f", default_sqr_gauss_param); print_info (")\n"); |
| 65 | print_info (" -polynomial_order X = order of the polynomial to be fit (polynomial_order > 1, indicates using a polynomial fit) (default: "); |
| 66 | print_value ("%d", default_polynomial_order); print_info (")\n"); |
| 67 | } |
| 68 | |
| 69 | bool |
| 70 | loadCloud (const std::string &filename, pcl::PCLPointCloud2 &cloud) |