Classes | Namespaces | Macros | Typedefs | Functions
rendering.h File Reference
#include <glad/glad.h>
#include <librealsense2/rs.hpp>
#include <librealsense2-gl/rs_processing_gl.hpp>
#include <utilities/time/timer.h>
#include <vector>
#include <algorithm>
#include <cstring>
#include <ctype.h>
#include <memory>
#include <string>
#include <cassert>
#include <sstream>
#include <iomanip>
#include <array>
#include <chrono>
#include <cmath>
#include <map>
#include <unordered_map>
#include <mutex>
#include <iostream>
#include <thread>
#include "../third-party/stb_easy_font.h"
Include dependency graph for rendering.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  rs2::animated< T >
 
class  rs2::color_map
 
struct  rs2::float2
 
struct  rs2::float3
 
struct  rs2::float4
 
class  rs2::fps_calc
 
struct  rs2::matrix4
 
struct  rs2::mouse_info
 
struct  rs2::plane
 
struct  rs2::rect
 
class  rs2::temporal_event
 
class  rs2::texture_buffer
 
struct  rs2::to_string
 

Namespaces

 rs2
 

Macros

#define _USE_MATH_DEFINES
 
#define NOMINMAX
 

Typedefs

using rs2::plane_3d = std::array< float3, 4 >
 

Functions

std::string rs2::api_version_to_string (int version)
 
float rs2::clamp (float x, float min, float max)
 
rs2_pose rs2::correct_tm2_pose (const rs2_pose &pose)
 
float3 rs2::cross (const float3 &a, const float3 &b)
 
float rs2::dot (const rs2::float2 &a, const rs2::float2 &b)
 
void rs2::draw_text (int x, int y, const char *text)
 
std::string rs2::error_to_string (const error &e)
 
float rs2::evaluate_plane (const plane &plane, const float3 &point)
 
matrix4 rs2::identity_matrix ()
 
bool rs2::is_integer (float f)
 
bool rs2::is_rasterizeable (rs2_format format)
 
bool rs2::is_valid (const plane_3d &p)
 
float rs2::lerp (float a, float b, float t)
 
float3 rs2::lerp (const float3 &a, const float3 &b, float t)
 
rs2::float2 rs2::lerp (const rs2::float2 &a, const rs2::float2 &b, float t)
 
float3 rs2::lerp (const std::array< float3, 4 > &rect, const float2 &p)
 
template<typename T >
rs2::normalizeT (const T &in_val, const T &min, const T &max)
 
float3 rs2::operator* (const float3 &a, float t)
 
float rs2::operator* (const float3 &a, const float3 &b)
 
float2 rs2::operator* (float a, float2 b)
 
matrix4 rs2::operator* (const matrix4 &a, const matrix4 &b)
 
float4 rs2::operator* (const matrix4 &a, const float4 &b)
 
float3 rs2::operator+ (const float3 &a, const float3 &b)
 
float3 rs2::operator- (const float3 &a, const float3 &b)
 
float2 rs2::operator- (float2 a, float2 b)
 
float3 rs2::operator/ (const float3 &a, float t)
 
bool rs2::operator== (const plane &lhs, const plane &rhs)
 
float rs2::single_wave (float x)
 
float rs2::smoothstep (float x, float min, float max)
 
std::vector< plane_3d > rs2::subdivide (const plane_3d &rect, int parts=4)
 
matrix4 rs2::tm2_pose_to_world_transformation (const rs2_pose &pose)
 
float rs2::to_rad (float deg)
 
float2 rs2::translate_3d_to_2d (float3 point, matrix4 p, matrix4 v, matrix4 f, int32_t vp[4])
 
template<typename T >
rs2::unnormalizeT (const T &in_val, const T &min, const T &max)
 
template<typename T >
bool rs2::val_in_range (const T &val, const std::initializer_list< T > &list)
 

Macro Definition Documentation

#define _USE_MATH_DEFINES

Definition at line 27 of file rendering.h.

#define NOMINMAX

Definition at line 7 of file rendering.h.



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