OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
Sensor.h
Go to the documentation of this file.
1
5#pragma once
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
11#include "ObTypes.h"
12
21
30
40
48uint32_t ob_filter_list_get_count(ob_filter_list *filter_list, ob_error **error);
49
58ob_filter *ob_get_filter(ob_filter_list *filter_list, uint32_t index, ob_error **error);
59
67const char *ob_get_filter_name(ob_filter *filter, ob_error **error);
68
75void ob_delete_filter_list(ob_filter_list *filter_list, ob_error **error);
76
86void ob_sensor_start(ob_sensor *sensor, ob_stream_profile *profile, ob_frame_callback callback, void *user_data, ob_error **error);
87
94void ob_sensor_stop(ob_sensor *sensor, ob_error **error);
95
104
112
121
131
141
150ob_sensor *ob_sensor_list_get_sensor(ob_sensor_list *sensor_list, uint32_t index, ob_error **error);
151
158void ob_delete_sensor(ob_sensor *sensor, ob_error **error);
159
160#ifdef __cplusplus
161}
162#endif
Provide structs commonly used in the SDK, enumerating constant definitions.
struct FilterListImpl ob_filter_list
Definition ObTypes.h:70
struct StreamProfileListImpl ob_stream_profile_list
Definition ObTypes.h:62
struct SensorListImpl ob_sensor_list
Definition ObTypes.h:60
struct SensorImpl ob_sensor
Definition ObTypes.h:59
struct StreamProfileImpl ob_stream_profile
Definition ObTypes.h:61
struct FilterImpl ob_filter
Definition ObTypes.h:64
enum OBSensorType ob_sensor_type
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
Callback for frame.
Definition ObTypes.h:1758
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_filter_list * ob_sensor_get_recommended_filter_list(ob_sensor *sensor, ob_error **error)
Request the list of recommended filter 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.
void ob_delete_sensor(ob_sensor *sensor, ob_error **error)
Delete a sensor object.
const char * ob_get_filter_name(ob_filter *filter, ob_error **error)
Get the name of ob_filter.
ob_stream_profile_list * ob_sensor_get_stream_profile_list(ob_sensor *sensor, ob_error **error)
Get a list of all supported stream profiles.
void ob_sensor_switch_profile(ob_sensor *sensor, ob_stream_profile *profile, ob_error **error)
Dynamically switch resolutions.
uint32_t ob_filter_list_get_count(ob_filter_list *filter_list, ob_error **error)
Get the number of recommended filter list.
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_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.
ob_sensor_type ob_sensor_get_type(ob_sensor *sensor, ob_error **error)
Get the type of the sensor.
void ob_delete_sensor_list(ob_sensor_list *sensor_list, ob_error **error)
Delete a list of sensor objects.
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.
void ob_delete_filter_list(ob_filter_list *filter_list, ob_error **error)
Delete a list of ob_filter objects.
void ob_sensor_stop(ob_sensor *sensor, ob_error **error)
Stop the sensor stream.
ob_filter * ob_get_filter(ob_filter_list *filter_list, uint32_t index, ob_error **error)
Get the number of recommended filter list.
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:151