Public Member Functions | Static Public Attributes | Private Member Functions | Friends | List of all members
rs2::gl::pointcloud_renderer Class Reference

#include <rs_processing_gl.hpp>

Inheritance diagram for rs2::gl::pointcloud_renderer:
Inheritance graph
[legend]

Public Member Functions

 pointcloud_renderer ()
 
void set_matrix (rs2_gl_matrix_type type, float *m4x4)
 
- Public Member Functions inherited from rs2::filter
template<class T >
as () const
 
 filter (std::shared_ptr< rs2_processing_block > block, int queue_size=1)
 
template<class S >
 filter (S processing_function, int queue_size=1)
 
rs2_processing_blockget () const
 
frame_queue get_queue ()
 
template<class T >
bool is () const
 
 operator bool () const
 
rs2::frame process (rs2::frame frame) const override
 
- Public Member Functions inherited from rs2::processing_block
rs2_processing_blockget () const
 
const char * get_info (rs2_camera_info info) const
 
void invoke (frame f) const
 
 operator rs2_options * () const
 
template<class S >
S & operator>> (S &on_frame)
 
 processing_block (std::shared_ptr< rs2_processing_block > block)
 
template<class S >
 processing_block (S processing_function)
 
template<class S >
void start (S on_frame)
 
bool supports (rs2_camera_info info) const
 
- Public Member Functions inherited from rs2::options
float get_option (rs2_option option) const
 
const char * get_option_description (rs2_option option) const
 
const char * get_option_name (rs2_option option) const
 
option_range get_option_range (rs2_option option) const
 
const char * get_option_value_description (rs2_option option, float val) const
 
std::vector< rs2_optionget_supported_options ()
 
bool is_option_read_only (rs2_option option) const
 
optionsoperator= (const options &other)
 
 options (const options &other)
 
void set_option (rs2_option option, float value) const
 
bool supports (rs2_option option) const
 
virtual ~options ()=default
 
- Public Member Functions inherited from rs2::filter_interface
virtual ~filter_interface ()=default
 

Static Public Attributes

static const auto OPTION_FILLED = rs2_option(RS2_OPTION_COUNT + 1)
 
static const auto OPTION_MOUSE_PICK = rs2_option(RS2_OPTION_COUNT + 5)
 
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_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_ORIGIN_PICKED = rs2_option(RS2_OPTION_COUNT + 11)
 
static const auto OPTION_PICKED_ID = rs2_option(RS2_OPTION_COUNT + 9)
 
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_SCALE_FACTOR = rs2_option(RS2_OPTION_COUNT + 15)
 
static const auto OPTION_SELECTED = rs2_option(RS2_OPTION_COUNT + 10)
 
static const auto OPTION_SHADED = rs2_option(RS2_OPTION_COUNT + 2)
 

Private Member Functions

std::shared_ptr< rs2_processing_blockinit ()
 

Friends

class context
 

Additional Inherited Members

- Protected Member Functions inherited from rs2::processing_block
void register_simple_option (rs2_option option_id, option_range range)
 
- Protected Member Functions inherited from rs2::options
template<class T >
optionsoperator= (const T &dev)
 
 options (rs2_options *o=nullptr)
 
- Protected Attributes inherited from rs2::filter
frame_queue _queue
 
- Protected Attributes inherited from rs2::processing_block
std::shared_ptr< rs2_processing_block_block
 

Detailed Description

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

Definition at line 257 of file rs_processing_gl.hpp.

Constructor & Destructor Documentation

rs2::gl::pointcloud_renderer::pointcloud_renderer ( )
inline

Definition at line 260 of file rs_processing_gl.hpp.

Member Function Documentation

std::shared_ptr<rs2_processing_block> rs2::gl::pointcloud_renderer::init ( )
inlineprivate

Definition at line 293 of file rs_processing_gl.hpp.

void rs2::gl::pointcloud_renderer::set_matrix ( rs2_gl_matrix_type  type,
float *  m4x4 
)
inline

Definition at line 262 of file rs_processing_gl.hpp.

Friends And Related Function Documentation

friend class context
friend

Definition at line 291 of file rs_processing_gl.hpp.

Member Data Documentation

const auto rs2::gl::pointcloud_renderer::OPTION_FILLED = rs2_option(RS2_OPTION_COUNT + 1)
static

Definition at line 269 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_MOUSE_PICK = rs2_option(RS2_OPTION_COUNT + 5)
static

Definition at line 274 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_MOUSE_X = rs2_option(RS2_OPTION_COUNT + 3)
static

Definition at line 272 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_MOUSE_Y = rs2_option(RS2_OPTION_COUNT + 4)
static

Definition at line 273 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_NORMAL_X = rs2_option(RS2_OPTION_COUNT + 12)
static

Definition at line 284 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_NORMAL_Y = rs2_option(RS2_OPTION_COUNT + 13)
static

Definition at line 285 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_NORMAL_Z = rs2_option(RS2_OPTION_COUNT + 14)
static

Definition at line 286 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_ORIGIN_PICKED = rs2_option(RS2_OPTION_COUNT + 11)
static

Definition at line 282 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_PICKED_ID = rs2_option(RS2_OPTION_COUNT + 9)
static

Definition at line 280 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_PICKED_X = rs2_option(RS2_OPTION_COUNT + 6)
static

Definition at line 276 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_PICKED_Y = rs2_option(RS2_OPTION_COUNT + 7)
static

Definition at line 277 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_PICKED_Z = rs2_option(RS2_OPTION_COUNT + 8)
static

Definition at line 278 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_SCALE_FACTOR = rs2_option(RS2_OPTION_COUNT + 15)
static

Definition at line 288 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_SELECTED = rs2_option(RS2_OPTION_COUNT + 10)
static

Definition at line 281 of file rs_processing_gl.hpp.

const auto rs2::gl::pointcloud_renderer::OPTION_SHADED = rs2_option(RS2_OPTION_COUNT + 2)
static

Definition at line 270 of file rs_processing_gl.hpp.


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:41