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

Function compute

tools/grid_min.cpp:87–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void
88compute (ConstCloudPtr &input, Cloud &output, float resolution)
89{
90 // Estimate
91 TicToc tt;
92 tt.tic ();
93
94 print_highlight (stderr, "Computing ");
95
96 GridMinimum<PointType> gm (resolution);
97 gm.setInputCloud (input);
98 gm.filter (output);
99
100 print_info ("[done, "); print_value ("%g", tt.toc ()); print_info (" ms : "); print_value ("%d", output.width * output.height); print_info (" points]\n");
101}
102
103void
104saveCloud (const std::string &filename, const Cloud &output)

Callers 2

batchProcessFunction · 0.70
mainFunction · 0.70

Calls 5

print_valueFunction · 0.85
ticMethod · 0.80
tocMethod · 0.80
setInputCloudMethod · 0.45
filterMethod · 0.45

Tested by

no test coverage detected