Function cwipc_encodergroup_addencoder

Function Documentation

cwipc_encoder *cwipc_encodergroup_addencoder(cwipc_encodergroup *obj, int version, cwipc_encoder_params *params, char **errorMessage)

Add a new encoder to an encodergroup.

The returned object is the cwipc_encoder. It will return compressed pointcloud data for each pointcloud fed into the group.

Parameters:
  • obj – The cwipc_encodergroup object.

  • version – Pass in CWIPC_ENCODER_PARAM_VERSION to ensure runtime compatibility.

  • params – Pointer to a structure with parameters than govern the encoding process.

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