Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Public Member Functions | Static Public Attributes | Friends | List of all members
rs2::gl::camera_renderer Class Reference

#include <rs_processing_gl.hpp>

Inheritance diagram for rs2::gl::camera_renderer:
rs2::filter rs2::processing_block rs2::filter_interface rs2::options

Public Member Functions

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

Static Public Attributes

static const auto OPTION_MOUSE_X = rs2_option(RS2_OPTION_COUNT + 1)
static const auto OPTION_MOUSE_Y = rs2_option(RS2_OPTION_COUNT + 2)
static const auto OPTION_MOUSE_PICK = rs2_option(RS2_OPTION_COUNT + 3)
static const auto OPTION_WAS_PICKED = rs2_option(RS2_OPTION_COUNT + 4)
static const auto OPTION_SELECTED = rs2_option(RS2_OPTION_COUNT + 5)


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
 options (rs2_options *o=nullptr)
template<class T >
optionsoperator= (const T &dev)
- 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

Camera Renderer can be used to visualize underlying camera model, given a frame from the camera Based on official CAD files For proper rendering, set_matrix needs to be used to configure projection and view matrix

Constructor & Destructor Documentation

◆ camera_renderer()

rs2::gl::camera_renderer::camera_renderer ( )

Member Function Documentation

◆ set_matrix()

void rs2::gl::camera_renderer::set_matrix ( rs2_gl_matrix_type  type,
float *  m4x4 

Friends And Related Function Documentation

◆ context

friend class context

Member Data Documentation


const auto rs2::gl::camera_renderer::OPTION_MOUSE_PICK = rs2_option(RS2_OPTION_COUNT + 3)


const auto rs2::gl::camera_renderer::OPTION_MOUSE_X = rs2_option(RS2_OPTION_COUNT + 1)


const auto rs2::gl::camera_renderer::OPTION_MOUSE_Y = rs2_option(RS2_OPTION_COUNT + 2)


const auto rs2::gl::camera_renderer::OPTION_SELECTED = rs2_option(RS2_OPTION_COUNT + 5)


const auto rs2::gl::camera_renderer::OPTION_WAS_PICKED = rs2_option(RS2_OPTION_COUNT + 4)

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