38 void set_min_delta_z(
float min_delta_z);
39 void set_picked_id(
float pid);
40 void set_shaded(
bool shaded);
44 std::unique_ptr<rs2::shader_program>
_shader;
89 void cleanup_gpu_resources()
override;
90 void create_gpu_resources()
override;
95 std::shared_ptr<pointcloud_shader>
_shader;
100 std::shared_ptr<rs2::texture_visualizer>
_viz;
101 std::shared_ptr<rs2::fbo>
_fbo;
104 option *_filled_opt, *_mouse_x_opt, *_mouse_y_opt, *_mouse_pick_opt,
105 *_picked_id_opt, *_picked_x_opt, *_picked_y_opt, *_picked_z_opt,
107 *_normal_x_opt, *_normal_y_opt, *_normal_z_opt, *_scale_factor_opt;
114 std::deque<std::chrono::high_resolution_clock::time_point>
_durations;
rs2_option
Defines general configuration controls. These can generally be mapped to camera UVC controls...
std::shared_ptr< pointcloud_shader > _shader
uint32_t _camera_matrix_location
uint32_t _min_delta_z_location
std::shared_ptr< rs2::texture_buffer > _vertex_texture
GLdouble GLdouble GLdouble w
uint32_t _projection_matrix_location
std::shared_ptr< pointcloud_shader > _pick_shader
uint32_t _shaded_location
std::shared_ptr< rs2::vao > _model
int geometry_slot() const
GLint GLsizei GLsizei height
std::shared_ptr< rs2::fbo > _fbo
std::shared_ptr< rs2::texture_buffer > _uvs_texture
uint32_t _transformation_matrix_location
std::shared_ptr< rs2::texture_visualizer > _viz
uint32_t _picked_id_location
GLsizei GLsizei GLchar * source
std::deque< std::chrono::high_resolution_clock::time_point > _durations
pbo< rgba8 > _origin_rgba_pbo
std::unique_ptr< rs2::shader_program > _shader