Public Member Functions | Private Attributes | List of all members
rs2::visualizer_2d Class Reference

#include <opengl3.h>

Public Member Functions

void draw_texture (uint32_t tex, float opacity=1.f)
 
void draw_texture (uint32_t tex1, uint32_t tex2, float opacity=1.f)
 
void draw_texture (float2 pos, float2 scale, uint32_t tex)
 
void draw_texture (float2 pos, float2 scale, uint32_t tex1, uint32_t tex2)
 
texture_2d_shaderget_shader ()
 
 visualizer_2d ()
 
 visualizer_2d (std::shared_ptr< texture_2d_shader > shader)
 

Private Attributes

texture_visualizer _visualizer
 
std::shared_ptr< texture_2d_shadertex_2d_shader
 

Detailed Description

Definition at line 231 of file opengl3.h.

Constructor & Destructor Documentation

rs2::visualizer_2d::visualizer_2d ( )
inline

Definition at line 234 of file opengl3.h.

rs2::visualizer_2d::visualizer_2d ( std::shared_ptr< texture_2d_shader shader)
inline

Definition at line 239 of file opengl3.h.

Member Function Documentation

void visualizer_2d::draw_texture ( uint32_t  tex,
float  opacity = 1.f 
)

Definition at line 278 of file opengl3.cpp.

void visualizer_2d::draw_texture ( uint32_t  tex1,
uint32_t  tex2,
float  opacity = 1.f 
)

Definition at line 290 of file opengl3.cpp.

void rs2::visualizer_2d::draw_texture ( float2  pos,
float2  scale,
uint32_t  tex 
)
inline

Definition at line 247 of file opengl3.h.

void rs2::visualizer_2d::draw_texture ( float2  pos,
float2  scale,
uint32_t  tex1,
uint32_t  tex2 
)
inline

Definition at line 256 of file opengl3.h.

texture_2d_shader& rs2::visualizer_2d::get_shader ( )
inline

Definition at line 265 of file opengl3.h.

Member Data Documentation

texture_visualizer rs2::visualizer_2d::_visualizer
private

Definition at line 268 of file opengl3.h.

std::shared_ptr<texture_2d_shader> rs2::visualizer_2d::tex_2d_shader
private

Definition at line 269 of file opengl3.h.


The documentation for this class was generated from the following files:


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