Function cwipc_synthetic

Function Documentation

cwipc_activesource *cwipc_synthetic(int fps, int npoints, char **errorMessage, uint64_t apiVersion)

Generate synthetic pointclouds.

This function returns a cwipc_source that generates a rotating pointcloud of the object colloquially known as the colourful dildo. It is intended for testing purposes.

Parameters:
  • fps – Maximum frames-per-second produced (0 for unlimited)

  • npoints – Approximate number of points in pointcloud (0 for default 160Kpoint)

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

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.