Classes | Typedefs | Enumerations | Functions | Variables
librealsense::gl Namespace Reference

Classes

class  align_gl
 
class  camera_renderer
 
class  camera_shader
 
class  colorizer
 
class  context
 
class  dual_processing_block
 
union  Fp32
 
class  gpu_addon
 
class  gpu_addon_interface
 
class  gpu_depth_frame
 
class  gpu_object
 
class  gpu_points_frame
 
class  gpu_processing_object
 
class  gpu_rendering_object
 
class  gpu_section
 
class  gpu_video_frame
 
struct  half4
 
struct  lane
 
class  matrix_container
 
class  pbo
 
class  pointcloud_gl
 
class  pointcloud_renderer
 
class  pointcloud_shader
 
class  processing_lane
 
class  rendering_lane
 
struct  rgba8
 
struct  texture_mapping
 
class  upload
 
class  yuy2rgb
 

Typedefs

typedef void(* load_function) (std::vector< rs2::float3 > &, std::vector< rs2::float3 > &, std::vector< short3 > &)
 

Enumerations

enum  texture_type {
  TEXTYPE_RGB, TEXTYPE_XYZ, TEXTYPE_UV, TEXTYPE_UINT16,
  TEXTYPE_FLOAT_ASSIST, TEXTYPE_RGBA, TEXTYPE_BGR, TEXTYPE_BGRA,
  TEXTYPE_UINT8, TEXTYPE_COUNT
}
 

Functions

texture_mappinggl_format_mapping (texture_type type)
 
float halfToNativeIeee (uint16_t value)
 
obj_mesh load_model (load_function f)
 
texture_mappingrs_format_to_gl_format (rs2_format type)
 
bool starts_with (const std::string &s, const std::string &prefix)
 

Variables

texture_mapping texture_formats [TEXTYPE_COUNT]
 

Typedef Documentation

typedef void(* librealsense::gl::load_function) (std::vector< rs2::float3 > &, std::vector< rs2::float3 > &, std::vector< short3 > &)

Definition at line 111 of file camera-shader.cpp.

Enumeration Type Documentation

Enumerator
TEXTYPE_RGB 
TEXTYPE_XYZ 
TEXTYPE_UV 
TEXTYPE_UINT16 
TEXTYPE_FLOAT_ASSIST 
TEXTYPE_RGBA 
TEXTYPE_BGR 
TEXTYPE_BGRA 
TEXTYPE_UINT8 
TEXTYPE_COUNT 

Definition at line 31 of file synthetic-stream-gl.h.

Function Documentation

texture_mapping& librealsense::gl::gl_format_mapping ( texture_type  type)

Definition at line 36 of file synthetic-stream-gl.cpp.

float librealsense::gl::halfToNativeIeee ( uint16_t  value)

Definition at line 247 of file pc-shader.cpp.

obj_mesh librealsense::gl::load_model ( load_function  f)

Definition at line 114 of file camera-shader.cpp.

texture_mapping & librealsense::gl::rs_format_to_gl_format ( rs2_format  type)

Definition at line 43 of file synthetic-stream-gl.cpp.

bool librealsense::gl::starts_with ( const std::string s,
const std::string prefix 
)

Definition at line 149 of file camera-shader.cpp.

Variable Documentation

texture_mapping librealsense::gl::texture_formats[TEXTYPE_COUNT]
Initial value:
{
{ TEXTYPE_BGR, RS2_FORMAT_BGR8, 3, GL_BGR, GL_BGR, GL_UNSIGNED_BYTE },
{ TEXTYPE_RGBA, RS2_FORMAT_RGBA8, 4, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE },
{ TEXTYPE_BGRA, RS2_FORMAT_BGRA8, 4, GL_BGRA, GL_BGRA, GL_UNSIGNED_BYTE },
{ TEXTYPE_UINT8, RS2_FORMAT_Y8, 1, GL_RGB, GL_LUMINANCE, GL_UNSIGNED_BYTE },
{ TEXTYPE_UINT16, RS2_FORMAT_Z16, 2, GL_RG8, GL_RG, GL_UNSIGNED_BYTE },
}
#define GL_RG8
#define GL_RGBA
#define GL_UNSIGNED_BYTE
#define GL_RGB16F
#define GL_BGRA
#define GL_BGR
#define GL_LUMINANCE
#define GL_FLOAT
#define GL_R16F
#define GL_RG
#define GL_RED
#define GL_RGB

Definition at line 24 of file synthetic-stream-gl.cpp.



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