Public Member Functions | Private Attributes | List of all members
colorize_shader Class Reference
Inheritance diagram for colorize_shader:
Inheritance graph
[legend]

Public Member Functions

int color_map_slot () const
 
 colorize_shader ()
 
int histogram_slot () const
 
void set_params (float units, float min, float max, float max_disparity, bool equalize, bool disparity)
 
int texture_slot () const
 
- Public Member Functions inherited from rs2::texture_2d_shader
void begin ()
 
void end ()
 
void set_opacity (float opacity)
 
void set_position_and_scale (const float2 &position, const float2 &scale)
 
 texture_2d_shader ()
 

Private Attributes

uint32_t _depth_units_location
 
uint32_t _equalize_location
 
uint32_t _is_disparity_location
 
uint32_t _max_depth_location
 
uint32_t _max_disparity_location
 
uint32_t _min_depth_location
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::texture_2d_shader
 texture_2d_shader (std::unique_ptr< shader_program > shader)
 
- Static Protected Member Functions inherited from rs2::texture_2d_shader
static const char * default_vertex_shader ()
 
- Protected Attributes inherited from rs2::texture_2d_shader
std::unique_ptr< shader_program_shader
 

Detailed Description

Definition at line 81 of file colorizer-gl.cpp.

Constructor & Destructor Documentation

colorize_shader::colorize_shader ( )
inline

Definition at line 84 of file colorizer-gl.cpp.

Member Function Documentation

int colorize_shader::color_map_slot ( ) const
inline

Definition at line 108 of file colorizer-gl.cpp.

int colorize_shader::histogram_slot ( ) const
inline

Definition at line 109 of file colorizer-gl.cpp.

void colorize_shader::set_params ( float  units,
float  min,
float  max,
float  max_disparity,
bool  equalize,
bool  disparity 
)
inline

Definition at line 111 of file colorizer-gl.cpp.

int colorize_shader::texture_slot ( ) const
inline

Definition at line 107 of file colorizer-gl.cpp.

Member Data Documentation

uint32_t colorize_shader::_depth_units_location
private

Definition at line 122 of file colorizer-gl.cpp.

uint32_t colorize_shader::_equalize_location
private

Definition at line 126 of file colorizer-gl.cpp.

uint32_t colorize_shader::_is_disparity_location
private

Definition at line 127 of file colorizer-gl.cpp.

uint32_t colorize_shader::_max_depth_location
private

Definition at line 124 of file colorizer-gl.cpp.

uint32_t colorize_shader::_max_disparity_location
private

Definition at line 125 of file colorizer-gl.cpp.

uint32_t colorize_shader::_min_depth_location
private

Definition at line 123 of file colorizer-gl.cpp.


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


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