OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
Defines types related to sensors, used for obtaining stream configurations, opening and closing streams, and setting and getting sensor properties. More...
#include "ObTypes.h"
Go to the source code of this file.
Functions | |
ob_sensor_type | ob_sensor_get_type (ob_sensor *sensor, ob_error **error) |
Get the type of the sensor. | |
ob_stream_profile_list * | ob_sensor_get_stream_profile_list (ob_sensor *sensor, ob_error **error) |
Get a list of all supported stream profiles. | |
ob_filter_list * | ob_sensor_get_recommended_filter_list (ob_sensor *sensor, ob_error **error) |
Request the list of recommended filter list. | |
uint32_t | ob_filter_list_get_count (ob_filter_list *filter_list, ob_error **error) |
Get the number of recommended filter list. | |
ob_filter * | ob_get_filter (ob_filter_list *filter_list, uint32_t index, ob_error **error) |
Get the number of recommended filter list. | |
const char * | ob_get_filter_name (ob_filter *filter, ob_error **error) |
Get the name of ob_filter. | |
void | ob_delete_filter_list (ob_filter_list *filter_list, ob_error **error) |
Delete a list of ob_filter objects. | |
void | ob_sensor_start (ob_sensor *sensor, ob_stream_profile *profile, ob_frame_callback callback, void *user_data, ob_error **error) |
Open the current sensor and set the callback data frame. | |
void | ob_sensor_stop (ob_sensor *sensor, ob_error **error) |
Stop the sensor stream. | |
void | ob_sensor_switch_profile (ob_sensor *sensor, ob_stream_profile *profile, ob_error **error) |
Dynamically switch resolutions. | |
void | ob_delete_sensor_list (ob_sensor_list *sensor_list, ob_error **error) |
Delete a list of sensor objects. | |
uint32_t | ob_sensor_list_get_sensor_count (ob_sensor_list *sensor_list, ob_error **error) |
Get the number of sensors in the sensor list. | |
ob_sensor_type | ob_sensor_list_get_sensor_type (ob_sensor_list *sensor_list, uint32_t index, ob_error **error) |
Get the sensor type. | |
ob_sensor * | ob_sensor_list_get_sensor_by_type (ob_sensor_list *sensor_list, ob_sensor_type sensorType, ob_error **error) |
Get a sensor by sensor type. | |
ob_sensor * | ob_sensor_list_get_sensor (ob_sensor_list *sensor_list, uint32_t index, ob_error **error) |
Get a sensor by index number. | |
void | ob_delete_sensor (ob_sensor *sensor, ob_error **error) |
Delete a sensor object. | |
Defines types related to sensors, used for obtaining stream configurations, opening and closing streams, and setting and getting sensor properties.
Definition in file Sensor.h.
ob_sensor_type ob_sensor_get_type | ( | ob_sensor * | sensor, |
ob_error ** | error | ||
) |
Get the type of the sensor.
[in] | sensor | The sensor object. |
[out] | error | Logs error messages. |
ob_stream_profile_list * ob_sensor_get_stream_profile_list | ( | ob_sensor * | sensor, |
ob_error ** | error | ||
) |
Get a list of all supported stream profiles.
[in] | sensor | The sensor object. |
[out] | error | Logs error messages. |
ob_filter_list * ob_sensor_get_recommended_filter_list | ( | ob_sensor * | sensor, |
ob_error ** | error | ||
) |
Request the list of recommended filter list.
[in] | sensor | The ob_sensor object. |
[out] | error | Log error messages. |
uint32_t ob_filter_list_get_count | ( | ob_filter_list * | filter_list, |
ob_error ** | error | ||
) |
Get the number of recommended filter list.
filter_list | Recommended filter list |
error | Log error messages |
ob_filter * ob_get_filter | ( | ob_filter_list * | filter_list, |
uint32_t | index, | ||
ob_error ** | error | ||
) |
Get the number of recommended filter list.
filter_list | Recommended filter list |
index | Recommended filter index |
error | Log error messages |
Get the name of ob_filter.
filter | ob_filter object |
error | Log error messages |
void ob_delete_filter_list | ( | ob_filter_list * | filter_list, |
ob_error ** | error | ||
) |
Delete a list of ob_filter objects.
[in] | filter_list | The list of ob_filter objects to delete. |
[out] | error | Logs error messages. |
void ob_sensor_start | ( | ob_sensor * | sensor, |
ob_stream_profile * | profile, | ||
ob_frame_callback | callback, | ||
void * | user_data, | ||
ob_error ** | error | ||
) |
Open the current sensor and set the callback data frame.
[in] | sensor | The sensor object. |
[in] | profile | The stream configuration information. |
[in] | callback | The callback function triggered when frame data arrives. |
[in] | user_data | Any user data to pass in and get from the callback. |
[out] | error | Logs error messages. |
Stop the sensor stream.
[in] | sensor | The sensor object. |
[out] | error | Logs error messages. |
void ob_sensor_switch_profile | ( | ob_sensor * | sensor, |
ob_stream_profile * | profile, | ||
ob_error ** | error | ||
) |
Dynamically switch resolutions.
[in] | sensor | The sensor object. |
[in] | profile | The stream configuration information. |
[out] | error | Logs error messages. |
void ob_delete_sensor_list | ( | ob_sensor_list * | sensor_list, |
ob_error ** | error | ||
) |
Delete a list of sensor objects.
[in] | sensor_list | The list of sensor objects to delete. |
[out] | error | Logs error messages. |
uint32_t ob_sensor_list_get_sensor_count | ( | ob_sensor_list * | sensor_list, |
ob_error ** | error | ||
) |
Get the number of sensors in the sensor list.
[in] | sensor_list | The list of sensor objects. |
[out] | error | Logs error messages. |
ob_sensor_type ob_sensor_list_get_sensor_type | ( | ob_sensor_list * | sensor_list, |
uint32_t | index, | ||
ob_error ** | error | ||
) |
Get the sensor type.
[in] | sensor_list | The list of sensor objects. |
[in] | index | The index of the sensor on the list. |
[out] | error | Logs error messages. |
ob_sensor * ob_sensor_list_get_sensor_by_type | ( | ob_sensor_list * | sensor_list, |
ob_sensor_type | sensorType, | ||
ob_error ** | error | ||
) |
Get a sensor by sensor type.
[in] | sensor_list | The list of sensor objects. |
[in] | sensorType | The sensor type to be obtained. |
[out] | error | Logs error messages. |
ob_sensor * ob_sensor_list_get_sensor | ( | ob_sensor_list * | sensor_list, |
uint32_t | index, | ||
ob_error ** | error | ||
) |
Get a sensor by index number.
[in] | sensor_list | The list of sensor objects. |
[in] | index | The index of the sensor on the list. |
[out] | error | Logs error messages. |