12 #define STRCASE(T, X) case RS2_##T##_##X: {\ 13 static std::string s##T##_##X##_str = make_less_screamy(#X);\ 14 return s##T##_##X##_str.c_str(); } 22 #define CASE(X) STRCASE(RS400_VISUAL_PRESET, X) 31 CASE(REMOVE_IR_PATTERN)
46 advanced_mode->toggle_advanced_mode(
enable > 0);
55 *
enabled = advanced_mode->is_enabled();
64 advanced_mode->set_depth_control_group(*
group);
73 advanced_mode->get_depth_control_group(
group,
mode);
82 advanced_mode->set_rsm(*
group);
100 advanced_mode->set_rau_support_vector_control(*
group);
109 advanced_mode->get_rau_support_vector_control(
group,
mode);
118 advanced_mode->set_color_control(*
group);
127 advanced_mode->get_color_control(
group,
mode);
136 advanced_mode->set_rau_color_thresholds_control(*
group);
145 advanced_mode->get_rau_color_thresholds_control(
group,
mode);
154 advanced_mode->set_slo_color_thresholds_control(*
group);
163 advanced_mode->get_slo_color_thresholds_control(
group,
mode);
172 advanced_mode->set_slo_penalty_control(*
group);
181 advanced_mode->get_slo_penalty_control(
group,
mode);
190 advanced_mode->set_hdad(*
group);
208 advanced_mode->set_color_correction(*
group);
217 advanced_mode->get_color_correction(
group,
mode);
226 advanced_mode->set_depth_table_control(*
group);
235 advanced_mode->get_depth_table_control(
group,
mode);
244 advanced_mode->set_ae_control(*
group);
253 advanced_mode->get_ae_control(
group,
mode);
262 advanced_mode->set_census_radius(*
group);
271 advanced_mode->get_census_radius(
group,
mode);
280 advanced_mode->set_amp_factor(*
group);
289 advanced_mode->get_amp_factor(
group,
mode);
const char * get_string(rs2_rs400_visual_preset value)
void rs2_set_amp_factor(rs2_device *dev, const STAFactor *group, rs2_error **error) BEGIN_API_CALL
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
void rs2_get_rau_support_vector_control(rs2_device *dev, STRauSupportVectorControl *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_hdad(rs2_device *dev, STHdad *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_color_control(rs2_device *dev, STColorControl *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_is_enabled(rs2_device *dev, int *enabled, rs2_error **error) BEGIN_API_CALL
void rs2_get_ae_control(rs2_device *dev, STAEControl *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_slo_color_thresholds_control(rs2_device *dev, STSloColorThresholdsControl *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_census(rs2_device *dev, STCensusRadius *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_set_rau_thresholds_control(rs2_device *dev, const STRauColorThresholdsControl *group, rs2_error **error) BEGIN_API_CALL
void rs2_set_census(rs2_device *dev, const STCensusRadius *group, rs2_error **error) BEGIN_API_CALL
const char * rs2_rs400_visual_preset_to_string(rs2_rs400_visual_preset preset)
bool is_valid(const plane_3d &p)
#define RS2_ENUM_HELPERS(TYPE, PREFIX)
void rs2_set_ae_control(rs2_device *dev, const STAEControl *group, rs2_error **error) BEGIN_API_CALL
void rs2_set_hdad(rs2_device *dev, const STHdad *group, rs2_error **error) BEGIN_API_CALL
void rs2_set_depth_table(rs2_device *dev, const STDepthTableControl *group, rs2_error **error) BEGIN_API_CALL
#define HANDLE_EXCEPTIONS_AND_RETURN(R,...)
void rs2_get_amp_factor(rs2_device *dev, STAFactor *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_set_rsm(rs2_device *dev, const STRsm *group, rs2_error **error) BEGIN_API_CALL
void rs2_get_rau_thresholds_control(rs2_device *dev, STRauColorThresholdsControl *group, int mode, rs2_error **error) BEGIN_API_CALL
GLenum GLenum GLsizei const GLuint GLboolean enabled
void rs2_set_color_correction(rs2_device *dev, const STColorCorrection *group, rs2_error **error) BEGIN_API_CALL
void rs2_set_slo_penalty_control(rs2_device *dev, const STSloPenaltyControl *group, rs2_error **error) BEGIN_API_CALL
void rs2_toggle_advanced_mode(rs2_device *dev, int enable, rs2_error **error) BEGIN_API_CALL
#define VALIDATE_INTERFACE(X, T)
void rs2_set_depth_control(rs2_device *dev, const STDepthControlGroup *group, rs2_error **error) BEGIN_API_CALL
void rs2_get_rsm(rs2_device *dev, STRsm *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_depth_table(rs2_device *dev, STDepthTableControl *group, int mode, rs2_error **error) BEGIN_API_CALL
rs2_rs400_visual_preset
For RS400 devices: provides optimized settings (presets) for specific types of usage.
void rs2_get_color_correction(rs2_device *dev, STColorCorrection *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_set_slo_color_thresholds_control(rs2_device *dev, const STSloColorThresholdsControl *group, rs2_error **error) BEGIN_API_CALL
void rs2_get_depth_control(rs2_device *dev, STDepthControlGroup *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_get_slo_penalty_control(rs2_device *dev, STSloPenaltyControl *group, int mode, rs2_error **error) BEGIN_API_CALL
void rs2_set_color_control(rs2_device *dev, const STColorControl *group, rs2_error **error) BEGIN_API_CALL
#define VALIDATE_NOT_NULL(ARG)
void rs2_set_rau_support_vector_control(rs2_device *dev, const STRauSupportVectorControl *group, rs2_error **error) BEGIN_API_CALL