Function cwipc_capturer
Defined in File api.h
Function Documentation
-
cwipc_activesource *cwipc_capturer(const char *configFilename, char **errorMessage, uint64_t apiVersion)
Capture pointclouds from a RGBD camera.
configFilename can be the filename of either a JSON or XML cameraconfig file. NULL means use cameraconfig.json in the current directory, “auto” will create a capturer for all cameras of any type that are currently attached (and supported). In inline JSON-encoded configuration can also be passed.
This function will use the camera type specified in the cameraconfig to create a capturer implementation for the correct camera type.
- Parameters:
configFilename – A string with the filename of the camera configuration file.
errorMessage – An optional pointer to a string where any error message will be stored.
apiVersion – Pass in CWIPC_API_VERSION to ensure DLL compatibility.
- Returns:
A cwipc_source object.