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

Public Member Functions

 project_shader ()
 
void requires_projection (bool val)
 
void set_depth_scale (float depth_scale)
 
void set_extrinsics (const rs2_extrinsics &extr)
 
void set_intrinsics (int idx, const rs2_intrinsics &intr)
 
void set_size (int id, int w, int h)
 
- 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 _coeffs_location [2]
 
uint32_t _depth_scale_location
 
uint32_t _extrinsics_location
 
uint32_t _focal_location [2]
 
uint32_t _height_location [2]
 
uint32_t _is_bc_location [2]
 
uint32_t _principal_location [2]
 
uint32_t _requires_projection_location
 
uint32_t _width_location [2]
 

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 236 of file pointcloud-gl.cpp.

Constructor & Destructor Documentation

project_shader::project_shader ( )
inline

Definition at line 239 of file pointcloud-gl.cpp.

Member Function Documentation

void project_shader::requires_projection ( bool  val)
inline

Definition at line 266 of file pointcloud-gl.cpp.

void project_shader::set_depth_scale ( float  depth_scale)
inline

Definition at line 287 of file pointcloud-gl.cpp.

void project_shader::set_extrinsics ( const rs2_extrinsics extr)
inline

Definition at line 292 of file pointcloud-gl.cpp.

void project_shader::set_intrinsics ( int  idx,
const rs2_intrinsics intr 
)
inline

Definition at line 277 of file pointcloud-gl.cpp.

void project_shader::set_size ( int  id,
int  w,
int  h 
)
inline

Definition at line 271 of file pointcloud-gl.cpp.

Member Data Documentation

uint32_t project_shader::_coeffs_location[2]
private

Definition at line 309 of file pointcloud-gl.cpp.

uint32_t project_shader::_depth_scale_location
private

Definition at line 310 of file pointcloud-gl.cpp.

uint32_t project_shader::_extrinsics_location
private

Definition at line 315 of file pointcloud-gl.cpp.

uint32_t project_shader::_focal_location[2]
private

Definition at line 306 of file pointcloud-gl.cpp.

uint32_t project_shader::_height_location[2]
private

Definition at line 313 of file pointcloud-gl.cpp.

uint32_t project_shader::_is_bc_location[2]
private

Definition at line 308 of file pointcloud-gl.cpp.

uint32_t project_shader::_principal_location[2]
private

Definition at line 307 of file pointcloud-gl.cpp.

uint32_t project_shader::_requires_projection_location
private

Definition at line 317 of file pointcloud-gl.cpp.

uint32_t project_shader::_width_location[2]
private

Definition at line 312 of file pointcloud-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:32