Open runenordmo opened 3 years ago
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.
void copyData(DataFormat *destination) const
This is already possible copying Zivid::PointXYZW into pcl::PointXYZ, but not for more complex pcl types.
Zivid::PointXYZW
pcl::PointXYZ
This would require the Zivid SDK to support more composed data formats, matching some of the PCL data types.
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.
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
intopcl::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.