#include <librealsense2/rs.hpp>
#include "example-imgui.hpp"
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <cstring>
Go to the source code of this file.
Functions | |
rs2_stream | find_stream_to_align (const std::vector< rs2::stream_profile > &streams) |
float | get_depth_scale (rs2::device dev) |
int | main (int argc, char *argv[]) |
bool | profile_changed (const std::vector< rs2::stream_profile > ¤t, const std::vector< rs2::stream_profile > &prev) |
void | remove_background (rs2::video_frame &other, const rs2::depth_frame &depth_frame, float depth_scale, float clipping_dist) |
void | render_slider (rect location, float &clipping_dist) |
rs2_stream find_stream_to_align | ( | const std::vector< rs2::stream_profile > & | streams | ) |
Definition at line 208 of file rs-align-advanced.cpp.
float get_depth_scale | ( | rs2::device | dev | ) |
Definition at line 126 of file rs-align-advanced.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 19 of file rs-align-advanced.cpp.
bool profile_changed | ( | const std::vector< rs2::stream_profile > & | current, |
const std::vector< rs2::stream_profile > & | prev | ||
) |
Definition at line 244 of file rs-align-advanced.cpp.
void remove_background | ( | rs2::video_frame & | other, |
const rs2::depth_frame & | depth_frame, | ||
float | depth_scale, | ||
float | clipping_dist | ||
) |
Definition at line 177 of file rs-align-advanced.cpp.
Definition at line 140 of file rs-align-advanced.cpp.