Function cwipc_read_debugdump

Function Documentation

cwipc_pointcloud *cwipc_read_debugdump(const char *filename, char **errorMessage, uint64_t apiVersion)

Read pointcloud from pointclouddump file.

The dump file format is unspecified and machine dependent. It is mainly intended for testing purposes.

If an error occurs and errorMessage is non-NULL it will receive a pointer to a string with the message.

Parameters:
  • filename – The dump file to read.

  • errorMessage – Address of a char* where any error message is saved (or NULL).

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.

Returns:

the abstract point cloud, or NULL in case of errors.