Intel® RealSense™ Cross Platform API
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 
8 #include "h/rs_types.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 /* Enable/Disable Advanced-Mode */
15 void rs2_toggle_advanced_mode(rs2_device* dev, int enable, rs2_error** error);
16 
17 /* Check if Advanced-Mode is enabled */
18 void rs2_is_enabled(rs2_device* dev, int* enabled, rs2_error** error);
19 
20 /* Sets new values for Depth Control Group, returns 0 if success */
21 void rs2_set_depth_control(rs2_device* dev, const STDepthControlGroup* group, rs2_error** error);
22 
23 /* Gets new values for Depth Control Group, returns 0 if success */
24 void rs2_get_depth_control(rs2_device* dev, STDepthControlGroup* group, int mode, rs2_error** error);
25 
26 /* Sets new values for RSM Group, returns 0 if success */
27 void rs2_set_rsm(rs2_device* dev, const STRsm* group, rs2_error** error);
28 
29 /* Gets new values for RSM Group, returns 0 if success */
30 void rs2_get_rsm(rs2_device* dev, STRsm* group, int mode, rs2_error** error);
31 
32 /* Sets new values for STRauSupportVectorControl, returns 0 if success */
34 
35 /* Gets new values for STRauSupportVectorControl, returns 0 if success */
37 
38 /* Sets new values for STColorControl, returns 0 if success */
39 void rs2_set_color_control(rs2_device* dev, const STColorControl* group, rs2_error** error);
40 
41 /* Gets new values for STColorControl, returns 0 if success */
42 void rs2_get_color_control(rs2_device* dev, STColorControl* group, int mode, rs2_error** error);
43 
44 /* Sets new values for STRauColorThresholdsControl, returns 0 if success */
46 
47 /* Gets new values for STRauColorThresholdsControl, returns 0 if success */
49 
50 /* Sets new values for STSloColorThresholdsControl, returns 0 if success */
52 
53 /* Gets new values for STRauColorThresholdsControl, returns 0 if success */
55 
56 /* Sets new values for STSloPenaltyControl, returns 0 if success */
58 
59 /* Gets new values for STSloPenaltyControl, returns 0 if success */
60 void rs2_get_slo_penalty_control(rs2_device* dev, STSloPenaltyControl* group, int mode, rs2_error** error);
61 
62 /* Sets new values for STHdad, returns 0 if success */
63 void rs2_set_hdad(rs2_device* dev, const STHdad* group, rs2_error** error);
64 
65 /* Gets new values for STHdad, returns 0 if success */
66 void rs2_get_hdad(rs2_device* dev, STHdad* group, int mode, rs2_error** error);
67 
68 /* Sets new values for STColorCorrection, returns 0 if success */
69 void rs2_set_color_correction(rs2_device* dev, const STColorCorrection* group, rs2_error** error);
70 
71 /* Gets new values for STColorCorrection, returns 0 if success */
72 void rs2_get_color_correction(rs2_device* dev, STColorCorrection* group, int mode, rs2_error** error);
73 
74 /* Sets new values for STDepthTableControl, returns 0 if success */
75 void rs2_set_depth_table(rs2_device* dev, const STDepthTableControl* group, rs2_error** error);
76 
77 /* Gets new values for STDepthTableControl, returns 0 if success */
78 void rs2_get_depth_table(rs2_device* dev, STDepthTableControl* group, int mode, rs2_error** error);
79 
80 void rs2_set_ae_control(rs2_device* dev, const STAEControl* group, rs2_error** error);
81 
82 void rs2_get_ae_control(rs2_device* dev, STAEControl* group, int mode, rs2_error** error);
83 
84 void rs2_set_census(rs2_device* dev, const STCensusRadius* group, rs2_error** error);
85 
86 void rs2_get_census(rs2_device* dev, STCensusRadius* group, int mode, rs2_error** error);
87 
88 void rs2_set_amp_factor(rs2_device* dev, const STAFactor* group, rs2_error** error);
89 
90 /* Gets new values for STAFactor, returns 0 if success */
91 void rs2_get_amp_factor(rs2_device* dev, STAFactor* group, int mode, rs2_error** error);
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 #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)
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_amp_factor(rs2_device *dev, STAFactor *group, int mode, rs2_error **error)
void rs2_get_color_control(rs2_device *dev, STColorControl *group, int mode, rs2_error **error)
void rs2_set_amp_factor(rs2_device *dev, const STAFactor *group, rs2_error **error)
Exposes RealSense structs.
Definition: rs_advanced_mode_command.h:125
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_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)
struct rs2_device rs2_device
Definition: rs_types.h:228
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:229
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