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

Function cloud_cb

tools/oni2pcd.cpp:60–69  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

58
59//////////////////////////////////////////////////////////////////////////////
60void
61cloud_cb (const CloudConstPtr& cloud)
62{
63 PCDWriter w;
64 sprintf (buf, "frame_%06d.pcd", i);
65 w.writeBinaryCompressed (buf, *cloud);
66 PCL_INFO ("Wrote a cloud with %lu (%ux%u) points in %s.\n",
67 cloud->size (), cloud->width, cloud->height, buf);
68 ++i;
69}
70
71/* ---[ */
72int

Callers 10

mainFunction · 0.70
runMethod · 0.50
OpenNIPassthroughMethod · 0.50
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50
runMethod · 0.50

Calls 2

writeBinaryCompressedMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected