Function cwipc_window

Function Documentation

cwipc_sink *cwipc_window(const char *title, char **errorMessage, uint64_t apiVersion)

Display a window to show pointclouds.

This function will open a window and returns a cwipc_sink. When the program feeds pointclouds into the sink these will be displayed in the window. The user has some interaction commands to inspect the pointcloud.

Note that it may be necessary (depending on the operating system) to call this function only from the main thread, and to call the methods on the cwipc_sink returned also only from the main thread.

Parameters:
  • title – The title string, to be shown in the title bar of the window.

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

  • apiVersion – Pass in CWIPC_API_VERSION to ensure dll compatibility.