Function cwipc_colormap

Function Documentation

cwipc_pointcloud *cwipc_colormap(cwipc_pointcloud *pc, uint32_t clearBits, uint32_t setBits)

Change colors in a pointcloud.

Returns a new pointcloud with the color of each point modified. Note: this function is primarliy intended for debugging and inspecting pointclouds, it is not coded for efficiency.

Parameters:
  • pc – The source pointcloud.

  • clearBits – Map of bits to clear in the ARGB color

  • setBits – Map of bits to set in the ARGB color

Returns:

a new pointcloud