15 size_t device_count = devices_list.
size();
18 std::cout <<
"No device detected. Is it plugged in?\n";
23 bool device_found =
false;
24 for (
auto&&
dev : devices_list)
38 std::cout <<
"No device from D400 product line detected. Is it plugged in?\n";
53 std::cout <<
"Firmware and/or SDK versions must be updated for the HDR feature to be supported.\n";
94 int frames_without_hdr_metadata_params = 0;
97 unsigned width = 1280;
100 unsigned tiles_in_row = 4;
101 unsigned tiles_in_col = 2;
104 window app(width, height, title.c_str(), tiles_in_row, tiles_in_col);
122 ++frames_without_hdr_metadata_params;
123 if (frames_without_hdr_metadata_params > 20)
125 std::cout <<
"Firmware and/or SDK versions must be updated for the HDR feature to be supported.\n";
162 catch (
const std::exception& e)
frame apply_filter(filter_interface &filter)
frameset wait_for_frames(unsigned int timeout_ms=RS2_DEFAULT_TIMEOUT) const
std::vector< sensor > query_sensors() const
rs2_metadata_type get_frame_metadata(rs2_frame_metadata_value frame_metadata) const
device_list query_devices() const
GLsizei const GLchar *const * string
depth_frame get_depth_frame() const
const std::string & get_failed_args() const
rs2::frame process(rs2::frame frame) const override
bool ImGui_ImplGlfw_Init(GLFWwindow *window, bool install_callbacks)
GLint GLsizei GLsizei height
bool supports(rs2_camera_info info) const
void enable_stream(rs2_stream stream_type, int stream_index, int width, int height, rs2_format format=RS2_FORMAT_ANY, int framerate=0)
video_frame get_infrared_frame(const size_t index=0) const
void set_option(rs2_option option, float value) const
float get_option(rs2_option option) const
const std::string & get_failed_function() const