Intel® RealSense™ Cross Platform API  2.13.0
Intel Realsense Cross-platform API
rs_advanced_mode.h
Go to the documentation of this file.
1 /* License: Apache 2.0. See LICENSE file in root directory.
2  Copyright(c) 2017 Intel Corporation. All Rights Reserved. */
3 
4 #ifndef RS400_ADVANCED_MODE_H
5 #define RS400_ADVANCED_MODE_H
6 
7 #define RS400_ADVANCED_MODE_HPP
9 #undef RS400_ADVANCED_MODE_HPP
10 
11 #include "h/rs_types.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /* Enable/Disable Advanced-Mode */
18 void rs2_toggle_advanced_mode(rs2_device* dev, int enable, rs2_error** error);
19 
20 /* Check if Advanced-Mode is enabled */
21 void rs2_is_enabled(rs2_device* dev, int* enabled, rs2_error** error);
22 
23 /* Sets new values for Depth Control Group, returns 0 if success */
24 void rs2_set_depth_control(rs2_device* dev, const STDepthControlGroup* group, rs2_error** error);
25 
26 /* Gets new values for Depth Control Group, returns 0 if success */
27 void rs2_get_depth_control(rs2_device* dev, STDepthControlGroup* group, int mode, rs2_error** error);
28 
29 /* Sets new values for RSM Group, returns 0 if success */
30 void rs2_set_rsm(rs2_device* dev, const STRsm* group, rs2_error** error);
31 
32 /* Gets new values for RSM Group, returns 0 if success */
33 void rs2_get_rsm(rs2_device* dev, STRsm* group, int mode, rs2_error** error);
34 
35 /* Sets new values for STRauSupportVectorControl, returns 0 if success */
37 
38 /* Gets new values for STRauSupportVectorControl, returns 0 if success */
40 
41 /* Sets new values for STColorControl, returns 0 if success */
42 void rs2_set_color_control(rs2_device* dev, const STColorControl* group, rs2_error** error);
43 
44 /* Gets new values for STColorControl, returns 0 if success */
45 void rs2_get_color_control(rs2_device* dev, STColorControl* group, int mode, rs2_error** error);
46 
47 /* Sets new values for STRauColorThresholdsControl, returns 0 if success */
49 
50 /* Gets new values for STRauColorThresholdsControl, returns 0 if success */
52 
53 /* Sets new values for STSloColorThresholdsControl, returns 0 if success */
55 
56 /* Gets new values for STRauColorThresholdsControl, returns 0 if success */
58 
59 /* Sets new values for STSloPenaltyControl, returns 0 if success */
61 
62 /* Gets new values for STSloPenaltyControl, returns 0 if success */
63 void rs2_get_slo_penalty_control(rs2_device* dev, STSloPenaltyControl* group, int mode, rs2_error** error);
64 
65 /* Sets new values for STHdad, returns 0 if success */
66 void rs2_set_hdad(rs2_device* dev, const STHdad* group, rs2_error** error);
67 
68 /* Gets new values for STHdad, returns 0 if success */
69 void rs2_get_hdad(rs2_device* dev, STHdad* group, int mode, rs2_error** error);
70 
71 /* Sets new values for STColorCorrection, returns 0 if success */
72 void rs2_set_color_correction(rs2_device* dev, const STColorCorrection* group, rs2_error** error);
73 
74 /* Gets new values for STColorCorrection, returns 0 if success */
75 void rs2_get_color_correction(rs2_device* dev, STColorCorrection* group, int mode, rs2_error** error);
76 
77 /* Sets new values for STDepthTableControl, returns 0 if success */
78 void rs2_set_depth_table(rs2_device* dev, const STDepthTableControl* group, rs2_error** error);
79 
80 /* Gets new values for STDepthTableControl, returns 0 if success */
81 void rs2_get_depth_table(rs2_device* dev, STDepthTableControl* group, int mode, rs2_error** error);
82 
83 void rs2_set_ae_control(rs2_device* dev, const STAEControl* group, rs2_error** error);
84 
85 void rs2_get_ae_control(rs2_device* dev, STAEControl* group, int mode, rs2_error** error);
86 
87 void rs2_set_census(rs2_device* dev, const STCensusRadius* group, rs2_error** error);
88 
89 void rs2_get_census(rs2_device* dev, STCensusRadius* group, int mode, rs2_error** error);
90 
91 /* Load JSON and apply advanced-mode controls, returns 0 if success */
92 void rs2_load_json(rs2_device* dev, const void* json_content, unsigned content_size, rs2_error** error);
93 
94 /* Serialize JSON content, returns 0 if success */
96 
97 #ifdef __cplusplus
98 }
99 #endif
100 #endif
void rs2_set_depth_table(rs2_device *dev, const STDepthTableControl *group, rs2_error **error)
Advanced Mode Commands header file.
void rs2_set_hdad(rs2_device *dev, const STHdad *group, rs2_error **error)
struct rs2_raw_data_buffer rs2_raw_data_buffer
Definition: rs_types.h:150
void rs2_toggle_advanced_mode(rs2_device *dev, int enable, rs2_error **error)
void rs2_get_depth_control(rs2_device *dev, STDepthControlGroup *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:48
void rs2_set_depth_control(rs2_device *dev, const STDepthControlGroup *group, rs2_error **error)
void rs2_set_rau_support_vector_control(rs2_device *dev, const STRauSupportVectorControl *group, rs2_error **error)
void rs2_get_rau_support_vector_control(rs2_device *dev, STRauSupportVectorControl *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:14
void rs2_is_enabled(rs2_device *dev, int *enabled, rs2_error **error)
Definition: rs_advanced_mode_command.h:71
void rs2_get_rau_thresholds_control(rs2_device *dev, STRauColorThresholdsControl *group, int mode, rs2_error **error)
void rs2_set_color_control(rs2_device *dev, const STColorControl *group, rs2_error **error)
void rs2_set_ae_control(rs2_device *dev, const STAEControl *group, rs2_error **error)
Definition: rs_advanced_mode_command.h:28
void rs2_get_hdad(rs2_device *dev, STHdad *group, int mode, rs2_error **error)
void rs2_set_slo_color_thresholds_control(rs2_device *dev, const STSloColorThresholdsControl *group, rs2_error **error)
void rs2_get_color_control(rs2_device *dev, STColorControl *group, int mode, rs2_error **error)
Exposes RealSense structs.
void rs2_get_census(rs2_device *dev, STCensusRadius *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:64
Definition: rs_advanced_mode_command.h:89
void rs2_get_depth_table(rs2_device *dev, STDepthTableControl *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:105
Definition: rs_advanced_mode_command.h:119
void rs2_get_ae_control(rs2_device *dev, STAEControl *group, int mode, rs2_error **error)
void rs2_load_json(rs2_device *dev, const void *json_content, unsigned content_size, rs2_error **error)
void rs2_set_rsm(rs2_device *dev, const STRsm *group, rs2_error **error)
Definition: rs_advanced_mode_command.h:82
void rs2_set_census(rs2_device *dev, const STCensusRadius *group, rs2_error **error)
rs2_raw_data_buffer * rs2_serialize_json(rs2_device *dev, rs2_error **error)
struct rs2_device rs2_device
Definition: rs_types.h:148
void rs2_set_color_correction(rs2_device *dev, const STColorCorrection *group, rs2_error **error)
void rs2_get_slo_penalty_control(rs2_device *dev, STSloPenaltyControl *group, int mode, rs2_error **error)
void rs2_get_slo_color_thresholds_control(rs2_device *dev, STSloColorThresholdsControl *group, int mode, rs2_error **error)
void rs2_get_rsm(rs2_device *dev, STRsm *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:57
void rs2_set_rau_thresholds_control(rs2_device *dev, const STRauColorThresholdsControl *group, rs2_error **error)
struct rs2_error rs2_error
Definition: rs_types.h:149
Definition: rs_advanced_mode_command.h:110
void rs2_set_slo_penalty_control(rs2_device *dev, const STSloPenaltyControl *group, rs2_error **error)
void rs2_get_color_correction(rs2_device *dev, STColorCorrection *group, int mode, rs2_error **error)
Definition: rs_advanced_mode_command.h:36