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

#include <opengl3.h>

Public Member Functions

void draw (texture_2d_shader &shader, uint32_t tex)
 
void draw (texture_2d_shader &shader, uint32_t tex1, uint32_t tex2)
 
void set_position (float2 pos)
 
void set_scale (float2 scale)
 
 texture_visualizer (float2 pos, float2 scale)
 
 texture_visualizer ()
 

Static Private Member Functions

static obj_mesh create_mesh ()
 

Private Attributes

std::shared_ptr< vao_geometry
 
float2 _position
 
float2 _scale
 

Detailed Description

Definition at line 203 of file opengl3.h.

Constructor & Destructor Documentation

rs2::texture_visualizer::texture_visualizer ( float2  pos,
float2  scale 
)
inline

Definition at line 206 of file opengl3.h.

rs2::texture_visualizer::texture_visualizer ( )
inline

Definition at line 214 of file opengl3.h.

Member Function Documentation

obj_mesh texture_visualizer::create_mesh ( )
staticprivate

Definition at line 380 of file opengl3.cpp.

void texture_visualizer::draw ( texture_2d_shader shader,
uint32_t  tex 
)

Definition at line 352 of file opengl3.cpp.

void texture_visualizer::draw ( texture_2d_shader shader,
uint32_t  tex1,
uint32_t  tex2 
)

Definition at line 364 of file opengl3.cpp.

void rs2::texture_visualizer::set_position ( float2  pos)
inline

Definition at line 217 of file opengl3.h.

void rs2::texture_visualizer::set_scale ( float2  scale)
inline

Definition at line 218 of file opengl3.h.

Member Data Documentation

std::shared_ptr<vao> rs2::texture_visualizer::_geometry
private

Definition at line 228 of file opengl3.h.

float2 rs2::texture_visualizer::_position
private

Definition at line 226 of file opengl3.h.

float2 rs2::texture_visualizer::_scale
private

Definition at line 227 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