Function cwipc_new_decoder

Function Documentation

cwipc_decoder *cwipc_new_decoder(char **errorMessage, uint64_t apiVersion)

Create pointcloud decompressor.

After creating the decoder you feed it data using the feed() method. Whenever available() returns true a new pointcloud can be obtained with get().

Parameters:
  • errorMessage – Pointer to a string that will be filled with a message in case of errors.

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.

Returns:

cwipc_decoder object representing the decompressor.