Function cwipc_read

Function Documentation

cwipc_pointcloud *cwipc_read(const char *filename, uint64_t timestamp, char **errorMessage, uint64_t apiVersion)

Read pointcloud from .ply file.

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

Parameters:
  • filename – The ply file to read.

  • timestamp – The timestamp to record in the cwipc object.

  • 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.