RealSense Cross Platform API
RealSense Cross-platform API
Loading...
Searching...
No Matches
rs_option.h
Go to the documentation of this file.
1/* License: Apache 2.0. See LICENSE file in root directory.
2Copyright(c) 2017 RealSense, Inc. All Rights Reserved. */
3
8
9
10#ifndef LIBREALSENSE_RS2_OPTION_H
11#define LIBREALSENSE_RS2_OPTION_H
12
13
14#include <stdint.h>
15
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include "rs_types.h"
22
26 typedef enum rs2_option
27 {
129
130 // Safety camera options
136
149
155 const char* rs2_option_to_string(rs2_option option);
156
162 rs2_option rs2_option_from_string( const char * option_name );
163
177
183
188 typedef struct rs2_option_rect
189 {
190 int16_t x1, y1;
191 int16_t x2, y2;
193
197 typedef struct rs2_option_range
198 {
199 float min;
200 float max;
201 float def;
202 float step;
204
207 typedef struct rs2_option_value
208 {
212#pragma pack(push,1)
213 union
214 {
215 char const * as_string;
216 float as_float;
217 int64_t as_integer;
219 };
220#pragma pack(pop)
222
240
255
269
279
287
296
306
315
324
336
347
357
367
379
387 int rs2_is_option_read_only(const rs2_options* options, rs2_option option, rs2_error** error);
388
396 float rs2_get_option(const rs2_options* options, rs2_option option, rs2_error** error);
397
405 rs2_option_value const * rs2_get_option_value( const rs2_options * options, rs2_option option_id, rs2_error ** error );
406
414 void rs2_set_option(const rs2_options* options, rs2_option option, float value, rs2_error** error);
415
422 void rs2_set_option_value( rs2_options const * options, rs2_option_value const * option_value, rs2_error ** error );
423
430
437
445 const char* rs2_get_option_name(const rs2_options* options, rs2_option option, rs2_error** error);
446
454
462
470 int rs2_get_option_range_from_list( const rs2_options_list * options, int i, rs2_option_range * out_range, rs2_error ** error );
471
477
483
491 int rs2_supports_option(const rs2_options* options, rs2_option option, rs2_error** error);
492
503 void rs2_get_option_range(const rs2_options* sensor, rs2_option option, float* min, float* max, float* step, float* def, rs2_error** error);
504
512 const char* rs2_get_option_description(const rs2_options* options, rs2_option option, rs2_error ** error);
513
522 const char* rs2_get_option_value_description(const rs2_options* options, rs2_option option, float value, rs2_error ** error);
523
534 rs2_error ** error );
535
544 rs2_error ** error );
545
546#ifdef __cplusplus
547}
548#endif
549#endif
void rs2_set_option_value(rs2_options const *options, rs2_option_value const *option_value, rs2_error **error)
const char * rs2_l500_visual_preset_to_string(rs2_l500_visual_preset preset)
rs2_sr300_visual_preset
For SR300 devices: provides optimized settings (presets) for specific types of usage.
Definition rs_option.h:225
@ RS2_SR300_VISUAL_PRESET_FACE_ANALYTICS
Definition rs_option.h:231
@ RS2_SR300_VISUAL_PRESET_LONG_RANGE
Definition rs_option.h:227
@ RS2_SR300_VISUAL_PRESET_BACKGROUND_SEGMENTATION
Definition rs_option.h:228
@ RS2_SR300_VISUAL_PRESET_GR_CURSOR
Definition rs_option.h:233
@ RS2_SR300_VISUAL_PRESET_OBJECT_SCANNING
Definition rs_option.h:230
@ RS2_SR300_VISUAL_PRESET_COUNT
Definition rs_option.h:237
@ RS2_SR300_VISUAL_PRESET_DEFAULT
Definition rs_option.h:234
@ RS2_SR300_VISUAL_PRESET_FACE_LOGIN
Definition rs_option.h:232
@ RS2_SR300_VISUAL_PRESET_SHORT_RANGE
Definition rs_option.h:226
@ RS2_SR300_VISUAL_PRESET_IR_ONLY
Definition rs_option.h:236
@ RS2_SR300_VISUAL_PRESET_GESTURE_RECOGNITION
Definition rs_option.h:229
@ RS2_SR300_VISUAL_PRESET_MID_RANGE
Definition rs_option.h:235
const char * rs2_emitter_mode_to_string(rs2_emitter_mode mode)
void rs2_delete_option_value(rs2_option_value const *handle)
rs2_l500_visual_preset
For L500 devices: provides optimized settings (presets) for specific types of usage.
Definition rs_option.h:258
@ RS2_L500_VISUAL_PRESET_DEFAULT
Definition rs_option.h:260
@ RS2_L500_VISUAL_PRESET_NO_AMBIENT
Definition rs_option.h:261
@ RS2_L500_VISUAL_PRESET_CUSTOM
Definition rs_option.h:259
@ RS2_L500_VISUAL_PRESET_MAX_RANGE
Definition rs_option.h:263
@ RS2_L500_VISUAL_PRESET_COUNT
Definition rs_option.h:266
@ RS2_L500_VISUAL_PRESET_AUTOMATIC
Definition rs_option.h:265
@ RS2_L500_VISUAL_PRESET_SHORT_RANGE
Definition rs_option.h:264
@ RS2_L500_VISUAL_PRESET_LOW_AMBIENT
Definition rs_option.h:262
const char * rs2_get_option_name(const rs2_options *options, rs2_option option, rs2_error **error)
const char * rs2_gyro_sensitivity_to_string(rs2_gyro_sensitivity mode)
const char * rs2_d500_intercam_sync_mode_to_string(rs2_d500_intercam_sync_mode mode)
const char * rs2_ambient_light_to_string(rs2_ambient_light preset)
const char * rs2_digital_gain_to_string(rs2_digital_gain preset)
rs2_option_value const * rs2_get_option_value(const rs2_options *options, rs2_option option_id, rs2_error **error)
const char * rs2_option_to_string(rs2_option option)
rs2_d500_intercam_sync_mode
values for RS2_OPTION_INTER_CAM_SYNC_MODE option.
Definition rs_option.h:359
@ RS2_D500_INTERCAM_SYNC_EXTERNAL_MASTER
Definition rs_option.h:363
@ RS2_D500_INTERCAM_SYNC_PWM_MASTER
Definition rs_option.h:362
@ RS2_D500_INTERCAM_SYNC_NONE
Definition rs_option.h:360
@ RS2_D500_INTERCAM_SYNC_RGB_MASTER
Definition rs_option.h:361
@ RS2_D500_INTERCAM_SYNC_COUNT
Definition rs_option.h:364
const char * rs2_emitter_frequency_mode_to_string(rs2_emitter_frequency_mode mode)
int rs2_get_option_range_from_list(const rs2_options_list *options, int i, rs2_option_range *out_range, rs2_error **error)
const char * rs2_safety_mode_to_string(rs2_safety_mode mode)
const char * rs2_sensor_mode_to_string(rs2_sensor_mode preset)
const char * rs2_host_perf_mode_to_string(rs2_host_perf_mode perf)
void rs2_set_option(const rs2_options *options, rs2_option option, float value, rs2_error **error)
rs2_option_type
Defines known option value types.
Definition rs_option.h:167
@ RS2_OPTION_TYPE_STRING
Definition rs_option.h:170
@ RS2_OPTION_TYPE_COUNT
Definition rs_option.h:174
@ RS2_OPTION_TYPE_FLOAT
Definition rs_option.h:169
@ RS2_OPTION_TYPE_BOOLEAN
Definition rs_option.h:171
@ RS2_OPTION_TYPE_INTEGER
Definition rs_option.h:168
@ RS2_OPTION_TYPE_RECT
Definition rs_option.h:172
rs2_sensor_mode
DEPRECATED! - For setting the camera_mode option.
Definition rs_option.h:272
@ RS2_SENSOR_MODE_XGA
Definition rs_option.h:274
@ RS2_SENSOR_MODE_COUNT
Definition rs_option.h:276
@ RS2_SENSOR_MODE_QVGA
Definition rs_option.h:275
@ RS2_SENSOR_MODE_VGA
Definition rs_option.h:273
rs2_ambient_light
DEPRECATED! - Use RS2_OPTION_DIGITAL_GAIN instead.
Definition rs_option.h:282
@ RS2_AMBIENT_LIGHT_LOW_AMBIENT
Definition rs_option.h:284
@ RS2_AMBIENT_LIGHT_NO_AMBIENT
Definition rs_option.h:283
rs2_option_value const * rs2_get_option_value_from_list(const rs2_options_list *options, int i, rs2_error **error)
rs2_host_perf_mode
values for RS2_OPTION_HOST_PERFORMANCE option.
Definition rs_option.h:299
@ RS2_HOST_PERF_LOW
Definition rs_option.h:301
@ RS2_HOST_PERF_DEFAULT
Definition rs_option.h:300
@ RS2_HOST_PERF_COUNT
Definition rs_option.h:303
@ RS2_HOST_PERF_HIGH
Definition rs_option.h:302
int rs2_get_options_list_size(const rs2_options_list *options, rs2_error **error)
rs2_emitter_mode
values for RS2_OPTION_EMITTER_MODE option.
Definition rs_option.h:339
@ RS2_EMITTER_MODE_COUNT
Definition rs_option.h:344
@ RS2_EMITTER_MODE_OFF
Definition rs_option.h:340
@ RS2_EMITTER_MODE_ALWAYS_ON
Definition rs_option.h:342
@ RS2_EMITTER_MODE_ON
Definition rs_option.h:341
@ RS2_EMITTER_MODE_ON_OFF
Definition rs_option.h:343
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls,...
Definition rs_option.h:27
@ RS2_OPTION_FILTER_OPTION
Definition rs_option.h:44
@ RS2_OPTION_FILTER_SMOOTH_ALPHA
Definition rs_option.h:65
@ RS2_OPTION_EMITTER_FREQUENCY
Definition rs_option.h:122
@ RS2_OPTION_SEQUENCE_NAME
Definition rs_option.h:106
@ RS2_OPTION_THERMAL_COMPENSATION
Definition rs_option.h:101
@ RS2_OPTION_ENABLE_DYNAMIC_CALIBRATION
Definition rs_option.h:86
@ RS2_OPTION_STREAM_FILTER
Definition rs_option.h:71
@ RS2_OPTION_SATURATION
Definition rs_option.h:35
@ RS2_OPTION_ROTATION
Definition rs_option.h:128
@ RS2_OPTION_DOWNSCALE_RATIO
Definition rs_option.h:140
@ RS2_OPTION_GLOBAL_TIME_ENABLED
Definition rs_option.h:81
@ RS2_OPTION_BACKLIGHT_COMPENSATION
Definition rs_option.h:28
@ RS2_OPTION_LLD_TEMPERATURE
Definition rs_option.h:77
@ RS2_OPTION_RECEIVER_SENSITIVITY
Definition rs_option.h:119
@ RS2_OPTION_ZERO_ORDER_POINT_X
Definition rs_option.h:75
@ RS2_OPTION_HOST_PERFORMANCE
Definition rs_option.h:104
@ RS2_OPTION_MOTION_RANGE
Definition rs_option.h:43
@ RS2_OPTION_HDR_ENABLED
Definition rs_option.h:105
@ RS2_OPTION_AMBIENT_LIGHT
Definition rs_option.h:97
@ RS2_OPTION_AUTO_EXPOSURE_MODE
Definition rs_option.h:49
@ RS2_OPTION_FRAMES_QUEUE_SIZE
Definition rs_option.h:47
@ RS2_OPTION_INVALIDATION_BYPASS
Definition rs_option.h:96
@ RS2_OPTION_ENABLE_POSE_JUMPING
Definition rs_option.h:85
@ RS2_OPTION_TOTAL_FRAME_DROPS
Definition rs_option.h:48
@ RS2_OPTION_COUNT
Definition rs_option.h:147
@ RS2_OPTION_CONTRAST
Definition rs_option.h:30
@ RS2_OPTION_HOLES_FILL
Definition rs_option.h:67
@ RS2_OPTION_DUAL_RGB_RECTIFICATION
Definition rs_option.h:144
@ RS2_OPTION_LASER_POWER
Definition rs_option.h:41
@ RS2_OPTION_SENSORS_CONFIG_MODE
Definition rs_option.h:143
@ RS2_OPTION_SAFETY_MODE
Definition rs_option.h:132
@ RS2_OPTION_PROJECTOR_TEMPERATURE
Definition rs_option.h:53
@ RS2_OPTION_HUMIDITY_TEMPERATURE
Definition rs_option.h:109
@ RS2_OPTION_SENSOR_MODE
Definition rs_option.h:99
@ RS2_OPTION_NOISE_FILTERING
Definition rs_option.h:95
@ RS2_OPTION_EMITTER_MODE
Definition rs_option.h:145
@ RS2_OPTION_MA_TEMPERATURE
Definition rs_option.h:79
@ RS2_OPTION_ENABLE_AUTO_EXPOSURE
Definition rs_option.h:38
@ RS2_OPTION_AUTO_EXPOSURE_PRIORITY
Definition rs_option.h:58
@ RS2_OPTION_AUTO_RX_SENSITIVITY
Definition rs_option.h:116
@ RS2_OPTION_EMITTER_ON_OFF
Definition rs_option.h:74
@ RS2_OPTION_ZERO_ORDER_ENABLED
Definition rs_option.h:89
@ RS2_OPTION_SHARPNESS
Definition rs_option.h:36
@ RS2_OPTION_OHM_TEMPERATURE
Definition rs_option.h:124
@ RS2_OPTION_DEPTH_AUTO_EXPOSURE_MODE
Definition rs_option.h:123
@ RS2_OPTION_CONFIDENCE_THRESHOLD
Definition rs_option.h:45
@ RS2_OPTION_ENABLE_AUTO_WHITE_BALANCE
Definition rs_option.h:39
@ RS2_OPTION_HUE
Definition rs_option.h:34
@ RS2_OPTION_DEPTH_OFFSET
Definition rs_option.h:87
@ RS2_OPTION_LEFT_IR_TEMPERATURE
Definition rs_option.h:135
@ RS2_OPTION_GAIN
Definition rs_option.h:32
@ RS2_OPTION_THRESHOLD
Definition rs_option.h:139
@ RS2_OPTION_AUTO_EXPOSURE_LIMIT_TOGGLE
Definition rs_option.h:120
@ RS2_OPTION_WHITE_BALANCE
Definition rs_option.h:37
@ RS2_OPTION_DETECTION_DISTANCE
Definition rs_option.h:142
@ RS2_OPTION_SEQUENCE_ID
Definition rs_option.h:108
@ RS2_OPTION_AUTO_EXPOSURE_CONVERGE_STEP
Definition rs_option.h:69
@ RS2_OPTION_MAX_DISTANCE
Definition rs_option.h:62
@ RS2_OPTION_EMITTER_ALWAYS_ON
Definition rs_option.h:100
@ RS2_OPTION_TRANSMITTER_FREQUENCY
Definition rs_option.h:117
@ RS2_OPTION_COLOR_SCHEME
Definition rs_option.h:59
@ RS2_OPTION_STREAM_INDEX_FILTER
Definition rs_option.h:73
@ RS2_OPTION_FREEFALL_DETECTION_ENABLED
Definition rs_option.h:91
@ RS2_OPTION_AVALANCHE_PHOTO_DIODE
Definition rs_option.h:92
@ RS2_OPTION_SAFETY_PRESET_ACTIVE_INDEX
Definition rs_option.h:131
@ RS2_OPTION_ENABLE_ALIGNED_DEPTH
Definition rs_option.h:146
@ RS2_OPTION_ENABLE_MOTION_CORRECTION
Definition rs_option.h:57
@ RS2_OPTION_ALTERNATE_IR
Definition rs_option.h:111
@ RS2_OPTION_EMITTER_ENABLED
Definition rs_option.h:46
@ RS2_OPTION_MOTION_MODULE_TEMPERATURE
Definition rs_option.h:55
@ RS2_OPTION_VERTICAL_BINNING
Definition rs_option.h:118
@ RS2_OPTION_ENABLE_MAX_USABLE_RANGE
Definition rs_option.h:110
@ RS2_OPTION_DISPARITY_SHIFT
Definition rs_option.h:138
@ RS2_OPTION_RGB_TNR_ENABLED
Definition rs_option.h:133
@ RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED
Definition rs_option.h:60
@ RS2_OPTION_EXPOSURE
Definition rs_option.h:31
@ RS2_OPTION_AUTO_GAIN_LIMIT_TOGGLE
Definition rs_option.h:121
@ RS2_OPTION_ENABLE_RELOCALIZATION
Definition rs_option.h:84
@ RS2_OPTION_GYRO_SENSITIVITY
Definition rs_option.h:126
@ RS2_OPTION_EMBEDDED_FILTER_ENABLED
Definition rs_option.h:137
@ RS2_OPTION_POWER_LINE_FREQUENCY
Definition rs_option.h:50
@ RS2_OPTION_MIN_DISTANCE
Definition rs_option.h:61
@ RS2_OPTION_READOUT_SHAPING
Definition rs_option.h:141
@ RS2_OPTION_FILTER_SMOOTH_DELTA
Definition rs_option.h:66
@ RS2_OPTION_INTER_CAM_SYNC_MODE
Definition rs_option.h:70
@ RS2_OPTION_TEXTURE_SOURCE
Definition rs_option.h:63
@ RS2_OPTION_ASIC_TEMPERATURE
Definition rs_option.h:51
@ RS2_OPTION_ACCURACY
Definition rs_option.h:42
@ RS2_OPTION_ENABLE_IR_REFLECTIVITY
Definition rs_option.h:113
@ RS2_OPTION_ZERO_ORDER_POINT_Y
Definition rs_option.h:76
@ RS2_OPTION_SAFETY_MCU_TEMPERATURE
Definition rs_option.h:134
@ RS2_OPTION_AUTO_EXPOSURE_LIMIT
Definition rs_option.h:114
@ RS2_OPTION_SEQUENCE_SIZE
Definition rs_option.h:107
@ RS2_OPTION_PRE_PROCESSING_SHARPENING
Definition rs_option.h:94
@ RS2_OPTION_ENABLE_MAP_PRESERVATION
Definition rs_option.h:90
@ RS2_OPTION_STEREO_BASELINE
Definition rs_option.h:68
@ RS2_OPTION_RESET_CAMERA_ACCURACY_HEALTH
Definition rs_option.h:103
@ RS2_OPTION_POST_PROCESSING_SHARPENING
Definition rs_option.h:93
@ RS2_OPTION_HARDWARE_PRESET
Definition rs_option.h:80
@ RS2_OPTION_GAMMA
Definition rs_option.h:33
@ RS2_OPTION_OUTPUT_TRIGGER_ENABLED
Definition rs_option.h:54
@ RS2_OPTION_FILTER_MAGNITUDE
Definition rs_option.h:64
@ RS2_OPTION_APD_TEMPERATURE
Definition rs_option.h:82
@ RS2_OPTION_TRIGGER_CAMERA_ACCURACY_HEALTH
Definition rs_option.h:102
@ RS2_OPTION_STREAM_FORMAT_FILTER
Definition rs_option.h:72
@ RS2_OPTION_VISUAL_PRESET
Definition rs_option.h:40
@ RS2_OPTION_MC_TEMPERATURE
Definition rs_option.h:78
@ RS2_OPTION_NOISE_ESTIMATION
Definition rs_option.h:112
@ RS2_OPTION_REGION_OF_INTEREST
Definition rs_option.h:127
@ RS2_OPTION_AUTO_GAIN_LIMIT
Definition rs_option.h:115
@ RS2_OPTION_ERROR_POLLING_ENABLED
Definition rs_option.h:52
@ RS2_OPTION_ENABLE_MAPPING
Definition rs_option.h:83
@ RS2_OPTION_DEPTH_UNITS
Definition rs_option.h:56
@ RS2_OPTION_BRIGHTNESS
Definition rs_option.h:29
@ RS2_OPTION_DIGITAL_GAIN
Definition rs_option.h:98
@ RS2_OPTION_SOC_PVT_TEMPERATURE
Definition rs_option.h:125
@ RS2_OPTION_LED_POWER
Definition rs_option.h:88
rs2_options_list * rs2_get_options_list(const rs2_options *options, rs2_error **error)
void rs2_set_options_changed_callback(rs2_options *options, rs2_options_changed_callback_ptr callback, rs2_error **error)
rs2_option rs2_get_option_from_list(const rs2_options_list *options, int i, rs2_error **error)
const char * rs2_rs400_visual_preset_to_string(rs2_rs400_visual_preset preset)
const char * rs2_colored_ir_auto_exposure_mode_to_string(rs2_colored_ir_auto_exposure_mode mode)
rs2_gyro_sensitivity
values for RS2_OPTION_GYRO_SENSITIVITY option.
Definition rs_option.h:370
@ RS2_GYRO_SENSITIVITY_COUNT
Definition rs_option.h:376
@ RS2_GYRO_SENSITIVITY_61_0_MILLI_DEG_SEC
Definition rs_option.h:371
@ RS2_GYRO_SENSITIVITY_3_8_MILLI_DEG_SEC
Definition rs_option.h:375
@ RS2_GYRO_SENSITIVITY_30_5_MILLI_DEG_SEC
Definition rs_option.h:372
@ RS2_GYRO_SENSITIVITY_7_6_MILLI_DEG_SEC
Definition rs_option.h:374
@ RS2_GYRO_SENSITIVITY_15_3_MILLI_DEG_SEC
Definition rs_option.h:373
const char * rs2_depth_auto_exposure_mode_to_string(rs2_depth_auto_exposure_mode mode)
void rs2_delete_options_list(rs2_options_list *list)
rs2_option rs2_option_from_string(const char *option_name)
int rs2_is_option_read_only(const rs2_options *options, rs2_option option, rs2_error **error)
rs2_depth_auto_exposure_mode
values for RS2_OPTION_DEPTH_AUTO_EXPOSURE_MODE option.
Definition rs_option.h:318
@ RS2_DEPTH_AUTO_EXPOSURE_ACCELERATED
Definition rs_option.h:320
@ RS2_DEPTH_AUTO_EXPOSURE_COUNT
Definition rs_option.h:321
@ RS2_DEPTH_AUTO_EXPOSURE_REGULAR
Definition rs_option.h:319
const char * rs2_option_type_to_string(rs2_option_type type)
rs2_colored_ir_auto_exposure_mode
values for RS2_OPTION_DEPTH_AUTO_EXPOSURE_MODE option on colored-IR devices, where the same imagers f...
Definition rs_option.h:328
@ RS2_COLORED_IR_AUTO_EXPOSURE_COLOR_PRIORITY
Definition rs_option.h:331
@ RS2_COLORED_IR_AUTO_EXPOSURE_HYBRID
Definition rs_option.h:332
@ RS2_COLORED_IR_AUTO_EXPOSURE_DEPTH_PRIORITY
Definition rs_option.h:330
@ RS2_COLORED_IR_AUTO_EXPOSURE_AUTO
Definition rs_option.h:329
@ RS2_COLORED_IR_AUTO_EXPOSURE_COUNT
Definition rs_option.h:333
rs2_digital_gain
digital gain for RS2_OPTION_DIGITAL_GAIN option.
Definition rs_option.h:290
@ RS2_DIGITAL_GAIN_AUTO
Definition rs_option.h:291
@ RS2_DIGITAL_GAIN_LOW
Definition rs_option.h:293
@ RS2_DIGITAL_GAIN_HIGH
Definition rs_option.h:292
rs2_rs400_visual_preset
For RS400 devices: provides optimized settings (presets) for specific types of usage.
Definition rs_option.h:243
@ RS2_RS400_VISUAL_PRESET_EDGE_ENHANCEMENT
Definition rs_option.h:251
@ RS2_RS400_VISUAL_PRESET_DEFAULT
Definition rs_option.h:245
@ RS2_RS400_VISUAL_PRESET_MEDIUM_DENSITY
Definition rs_option.h:249
@ RS2_RS400_VISUAL_PRESET_REMOVE_IR_PATTERN
Definition rs_option.h:250
@ RS2_RS400_VISUAL_PRESET_COUNT
Definition rs_option.h:252
@ RS2_RS400_VISUAL_PRESET_HIGH_DENSITY
Definition rs_option.h:248
@ RS2_RS400_VISUAL_PRESET_HAND
Definition rs_option.h:246
@ RS2_RS400_VISUAL_PRESET_HIGH_ACCURACY
Definition rs_option.h:247
@ RS2_RS400_VISUAL_PRESET_CUSTOM
Definition rs_option.h:244
const char * rs2_sr300_visual_preset_to_string(rs2_sr300_visual_preset preset)
void rs2_get_option_range(const rs2_options *sensor, rs2_option option, float *min, float *max, float *step, float *def, rs2_error **error)
const char * rs2_get_option_value_description(const rs2_options *options, rs2_option option, float value, rs2_error **error)
const char * rs2_get_option_description(const rs2_options *options, rs2_option option, rs2_error **error)
rs2_safety_mode
values for RS2_OPTION_SAFETY_MODE option.
Definition rs_option.h:350
@ RS2_SAFETY_MODE_RUN
Definition rs_option.h:351
@ RS2_SAFETY_MODE_SERVICE
Definition rs_option.h:353
@ RS2_SAFETY_MODE_COUNT
Definition rs_option.h:354
@ RS2_SAFETY_MODE_STANDBY
Definition rs_option.h:352
void rs2_set_options_changed_callback_cpp(rs2_options *options, rs2_options_changed_callback *callback, rs2_error **error)
rs2_emitter_frequency_mode
values for RS2_EMITTER_FREQUENCY option.
Definition rs_option.h:309
@ RS2_EMITTER_FREQUENCY_91_KHZ
Definition rs_option.h:311
@ RS2_EMITTER_FREQUENCY_57_KHZ
Definition rs_option.h:310
@ RS2_EMITTER_FREQUENCY_COUNT
Definition rs_option.h:312
float rs2_get_option(const rs2_options *options, rs2_option option, rs2_error **error)
int rs2_supports_option(const rs2_options *options, rs2_option option, rs2_error **error)
Exposes RealSense structs.
void(*) rs2_options_changed_callback_ptr(const rs2_options_list *)
Definition rs_types.h:341
struct rs2_error rs2_error
Definition rs_types.h:296
struct rs2_options_list rs2_options_list
Definition rs_types.h:324
struct rs2_options rs2_options
Definition rs_types.h:323
Definition rs_option.h:198
float step
Definition rs_option.h:202
float max
Definition rs_option.h:200
float def
Definition rs_option.h:201
float min
Definition rs_option.h:199
Definition rs_option.h:189
int16_t y1
Definition rs_option.h:190
int16_t y2
Definition rs_option.h:191
int16_t x1
Definition rs_option.h:190
int16_t x2
Definition rs_option.h:191
The value of an option, in a known option type.
Definition rs_option.h:208
rs2_option_type type
Definition rs_option.h:211
int is_valid
Definition rs_option.h:210
rs2_option id
Definition rs_option.h:209
Definition rs_types.hpp:101