| OrbbecSDK 1.5.7 OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Sensor.h
Go to the documentation of this file.
1
10 #pragma once
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 #include "ObTypes.h"
17
33 ob_sensor_type ob_sensor_get_type(ob_sensor *sensor, ob_error **error);
34
50 ob_stream_profile_list *ob_sensor_get_stream_profile_list(ob_sensor *sensor, ob_error **error);
51
71 void ob_sensor_start(ob_sensor *sensor, ob_stream_profile *profile, ob_frame_callback callback, void *user_data, ob_error **error);
72
86 void ob_sensor_stop(ob_sensor *sensor, ob_error **error);
87
103 void ob_sensor_switch_profile(ob_sensor *sensor, ob_stream_profile *profile, ob_error **error);
104
118 void ob_delete_sensor_list(ob_sensor_list *sensor_list, ob_error **error);
119
135 uint32_t ob_sensor_list_get_sensor_count(ob_sensor_list *sensor_list, ob_error **error);
136
150 ob_sensor_type ob_sensor_list_get_sensor_type(ob_sensor_list *sensor_list, uint32_t index, ob_error **error);
151
168
185
200
ob_stream_profile_list
struct StreamProfileListImpl ob_stream_profile_list
Definition: ObTypes.h:55
ob_sensor
struct SensorImpl ob_sensor
Definition: ObTypes.h:52
ob_sensor_switch_profile
void ob_sensor_switch_profile(ob_sensor *sensor, ob_stream_profile *profile, ob_error **error)
Dynamically switch resolutions.
ob_sensor_type
enum OBSensorType ob_sensor_type
ob_sensor_get_stream_profile_list
ob_stream_profile_list * ob_sensor_get_stream_profile_list(ob_sensor *sensor, ob_error **error)
Get all supported stream profiles.
ObTypes.h
Provide structs commonly used in the SDK, enumerating constant definitions.
ob_sensor_start
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_stream_profile
struct StreamProfileImpl ob_stream_profile
Definition: ObTypes.h:54
ob_sensor_stop
void ob_sensor_stop(ob_sensor *sensor, ob_error **error)
Stop sensor stream.
ob_delete_sensor_list
void ob_delete_sensor_list(ob_sensor_list *sensor_list, ob_error **error)
Delete sensor object list.
ob_sensor_list
struct SensorListImpl ob_sensor_list
Definition: ObTypes.h:53
ob_frame_callback
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
dataframe callback
Definition: ObTypes.h:1406
ob_sensor_list_get_sensor_type
ob_sensor_type ob_sensor_list_get_sensor_type(ob_sensor_list *sensor_list, uint32_t index, ob_error **error)
Get the sensor types.
ob_sensor_list_get_sensor_count
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_get_type
ob_sensor_type ob_sensor_get_type(ob_sensor *sensor, ob_error **error)
Get sensor type.
ob_error
The error class exposed by the SDK, users can get detailed error information according to the erro...
Definition: ObTypes.h:142