rs-align-advanced.cpp File Reference
#include <librealsense2/rs.hpp>
#include "example-imgui.hpp"
#include <sstream>
#include <iostream>
#include <fstream>
#include <algorithm>
#include <cstring>
Include dependency graph for rs-align-advanced.cpp:

Go to the source code of this file.


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 > &current, 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)

Function Documentation

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.

void render_slider ( rect  location,
float &  clipping_dist 

Definition at line 140 of file rs-align-advanced.cpp.

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:28