#include <librealsense2/rs.hpp>
#include <librealsense2/rsutil.h>
#include <array>
#include <cmath>
#include <cstring>
#include <iostream>
#include <fstream>
#include <vector>
#include "example.hpp"
Go to the source code of this file.
|
std::vector< uint8_t > | bytes_from_raw_file (const std::string &filename) |
|
static object | convert_object_coordinates (const object &obj, const rs2_pose &object_pose) |
|
static rs2_pose | identity_pose () |
|
int | main (int argc, char *argv[]) |
|
static rs2_pose | pose_inverse (const rs2_pose &p) |
|
static rs2_pose | pose_multiply (const rs2_pose &ref2_in_ref1, const rs2_pose &ref3_in_ref2) |
|
static rs2_vector | pose_transform_point (const rs2_pose &pose, const rs2_vector &p) |
|
static rs2_quaternion | quaternion_conjugate (const rs2_quaternion &q) |
|
static rs2_quaternion | quaternion_multiply (const rs2_quaternion &a, const rs2_quaternion &b) |
|
static rs2_vector | quaternion_rotate_vector (const rs2_quaternion &q, const rs2_vector &v) |
|
static std::vector< point3d > | raster_line (const point3d &a, const point3d &b, float step) |
|
void | raw_file_from_bytes (const std::string &filename, const std::vector< uint8_t > bytes) |
|
static void | render_line (const std::vector< pixel > &line, int color_code) |
|
static void | render_text (int win_height, const std::string &text) |
|
static rs2_pose | reset_object_pose (const rs2_pose &device_pose_in_world=identity_pose()) |
|
static rs2_vector | vector_addition (const rs2_vector &a, const rs2_vector &b) |
|
static rs2_vector | vector_negate (const rs2_vector &v) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
void render_line |
( |
const std::vector< pixel > & |
line, |
|
|
int |
color_code |
|
) |
| |
|
static |