#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>
#include "example.hpp"
#include <math.h>
#include <queue>
#include <unordered_set>
#include <map>
#include <thread>
#include <atomic>
#include <mutex>
Go to the source code of this file.
|
using | pixel = std::pair< int, int > |
|
|
float | dist_3d (const rs2::depth_frame &frame, pixel u, pixel v) |
|
void | draw_line (float x0, float y0, float x1, float y1, int width) |
|
int | main (int argc, char *argv[]) |
|
void | register_glfw_callbacks (window &app, state &app_state) |
|
void | render_simple_distance (const rs2::depth_frame &depth, const state &s, const window &app) |
|
#define _USE_MATH_DEFINES |
using pixel = std::pair<int, int> |
void draw_line |
( |
float |
x0, |
|
|
float |
y0, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
int |
width |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |