#include <librealsense/rs.hpp>#include "example.hpp"#include <cstdarg>#include <thread>#include <iostream>#include <algorithm>#include <iomanip>#include <mutex>#include "concurrency.hpp"#include <atomic>#include <map>
Go to the source code of this file.
| #define STRING_CASE | ( | S, | |
| C | |||
| ) | std::string S = #S; if (s.compare(0, S.length(), S) == 0) { newC = C; s = find_and_replace(s, S + " ", ""); } |
| void draw_autoexposure_roi_boundary | ( | rs::stream | s, |
| const std::vector< option > & | options, | ||
| rs::device * | dev, | ||
| gui & | g, | ||
| int | x, | ||
| int | y, | ||
| double | w, | ||
| double | h | ||
| ) |
Definition at line 519 of file cpp-config-ui.cpp.
| void enable_stream | ( | rs::device * | dev, |
| int | stream, | ||
| rs::format | format, | ||
| int | w, | ||
| int | h, | ||
| int | fps, | ||
| bool | enable, | ||
| std::stringstream & | stream_name | ||
| ) |
Definition at line 438 of file cpp-config-ui.cpp.
| std::string find_and_replace | ( | std::string | source, |
| std::string const & | find, | ||
| std::string const & | replace | ||
| ) |
Definition at line 29 of file cpp-config-ui.cpp.
| double find_option_value | ( | const std::vector< option > & | options, |
| rs::option | opt | ||
| ) |
Definition at line 512 of file cpp-config-ui.cpp.
| bool is_any_stream_enable | ( | rs::device * | dev | ) |
Definition at line 422 of file cpp-config-ui.cpp.
Definition at line 543 of file cpp-config-ui.cpp.
| T MAX | ( | T | x, |
| T | y | ||
| ) | [inline] |
Definition at line 18 of file cpp-config-ui.cpp.
| T MIN | ( | T | x, |
| T | y | ||
| ) | [inline] |
Definition at line 17 of file cpp-config-ui.cpp.
| void on_motion_event | ( | rs::motion_data | entry | ) |
Definition at line 250 of file cpp-config-ui.cpp.
| void on_timestamp_event | ( | rs::timestamp_data | entry | ) |
Definition at line 259 of file cpp-config-ui.cpp.
| void show_message | ( | GLFWwindow * | curr_window, |
| const std::string & | title, | ||
| const std::string & | message | ||
| ) |
Definition at line 269 of file cpp-config-ui.cpp.
| void update_mm_data | ( | texture_buffer * | buffers, |
| int | w, | ||
| int | h, | ||
| gui & | g | ||
| ) |
Definition at line 475 of file cpp-config-ui.cpp.
| void update_related_options | ( | rs::device & | dev, |
| rs::option | opt, | ||
| std::vector< option > & | options | ||
| ) |
Definition at line 400 of file cpp-config-ui.cpp.
Definition at line 248 of file cpp-config-ui.cpp.
Definition at line 247 of file cpp-config-ui.cpp.
| std::mutex mm_mutex |
Definition at line 246 of file cpp-config-ui.cpp.
| bool motion_tracking_enable = true |
Definition at line 437 of file cpp-config-ui.cpp.
std::map<rs::option, std::vector<rs::option> > options_dependencies [static] |
{
{ rs::option::color_exposure, { rs::option::color_enable_auto_exposure } },
{ rs::option::color_white_balance, { rs::option::color_enable_auto_white_balance } },
{ rs::option::r200_lr_gain, { rs::option::r200_lr_auto_exposure_enabled } },
{ rs::option::r200_lr_exposure, { rs::option::r200_lr_auto_exposure_enabled } },
{ rs::option::r200_lr_auto_exposure_enabled, { rs::option::r200_auto_exposure_mean_intensity_set_point,
rs::option::r200_auto_exposure_bright_ratio_set_point,
rs::option::r200_auto_exposure_kp_dark_threshold,
rs::option::r200_auto_exposure_kp_gain,
rs::option::r200_auto_exposure_kp_exposure,
rs::option::r200_auto_exposure_bottom_edge,
rs::option::r200_auto_exposure_top_edge,
rs::option::r200_auto_exposure_left_edge,
rs::option::r200_auto_exposure_right_edge,
} },
{ rs::option::r200_auto_exposure_bottom_edge, { rs::option::r200_auto_exposure_top_edge } },
{ rs::option::r200_auto_exposure_top_edge, { rs::option::r200_auto_exposure_bottom_edge } },
{ rs::option::r200_auto_exposure_left_edge, { rs::option::r200_auto_exposure_right_edge } },
{ rs::option::r200_auto_exposure_right_edge, { rs::option::r200_auto_exposure_left_edge } },
}
Definition at line 378 of file cpp-config-ui.cpp.