zivid-cpp-samples icon indicating copy to clipboard operation
zivid-cpp-samples copied to clipboard

Copy data directly into PCL point cloud buffers using `void copyData(DataFormat *destination) const`

Open runenordmo opened this issue 4 years ago • 1 comments

Then the for-loop iterating over every point in

https://github.com/zivid/zivid-cpp-samples/blob/cc2828d041e407340c82e30fe2b2cc43d9fc0fa4/source/Applications/Basic/Visualization/CaptureWritePCLVis3D/CaptureWritePCLVis3D.cpp#L54-L62

will become a one-liner running void copyData(DataFormat *destination) const.

This is already possible copying Zivid::PointXYZW into pcl::PointXYZ, but not for more complex pcl types.


This would require the Zivid SDK to support more composed data formats, matching some of the PCL data types.

runenordmo avatar Oct 12 '21 13:10 runenordmo

Discussed with @SatjaSivcev, will move this to our internal backlog, since this needs to be implemented in the SDK before it can be utilized in the sample.

runenordmo avatar Oct 14 '21 10:10 runenordmo