Class pointcloud_renderer
Defined in File rs_processing_gl.hpp
Inheritance Relationships
Base Type
public rs2::filter
(Class filter)
Class Documentation
-
class pointcloud_renderer : public rs2::filter
Pointcloud renderer can be used to render librealsense points objects to screen It can render pointcloud as points (by setting proprietary OPTION_FILLED option to 0) or via connected polygons (where every three adjacent points produce a triangle) For proper rendering, set_matrix needs to be used to configure projection and view matrix
Public Functions
-
inline pointcloud_renderer()
-
inline void set_matrix(rs2_gl_matrix_type type, float *m4x4)
Public Static Attributes
-
static const auto OPTION_FILLED = rs2_option(RS2_OPTION_COUNT + 1)
-
static const auto OPTION_SHADED = rs2_option(RS2_OPTION_COUNT + 2)
-
static const auto OPTION_MOUSE_X = rs2_option(RS2_OPTION_COUNT + 3)
-
static const auto OPTION_MOUSE_Y = rs2_option(RS2_OPTION_COUNT + 4)
-
static const auto OPTION_MOUSE_PICK = rs2_option(RS2_OPTION_COUNT + 5)
-
static const auto OPTION_PICKED_X = rs2_option(RS2_OPTION_COUNT + 6)
-
static const auto OPTION_PICKED_Y = rs2_option(RS2_OPTION_COUNT + 7)
-
static const auto OPTION_PICKED_Z = rs2_option(RS2_OPTION_COUNT + 8)
-
static const auto OPTION_PICKED_ID = rs2_option(RS2_OPTION_COUNT + 9)
-
static const auto OPTION_SELECTED = rs2_option(RS2_OPTION_COUNT + 10)
-
static const auto OPTION_ORIGIN_PICKED = rs2_option(RS2_OPTION_COUNT + 11)
-
static const auto OPTION_NORMAL_X = rs2_option(RS2_OPTION_COUNT + 12)
-
static const auto OPTION_NORMAL_Y = rs2_option(RS2_OPTION_COUNT + 13)
-
static const auto OPTION_NORMAL_Z = rs2_option(RS2_OPTION_COUNT + 14)
-
static const auto OPTION_SCALE_FACTOR = rs2_option(RS2_OPTION_COUNT + 15)
-
inline pointcloud_renderer()