Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
rs2::colorizer Class Reference

#include <rs_processing.hpp>

Inheritance diagram for rs2::colorizer:
Inheritance graph
[legend]

Public Member Functions

video_frame colorize (frame depth) const
 
 colorizer ()
 
 colorizer (float color_scheme)
 
- 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
 

Protected Member Functions

 colorizer (std::shared_ptr< rs2_processing_block > block)
 
- 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)
 

Private Member Functions

std::shared_ptr< rs2_processing_blockinit ()
 

Additional Inherited Members

- 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

Definition at line 708 of file rs_processing.hpp.

Constructor & Destructor Documentation

rs2::colorizer::colorizer ( )
inline

Create colorizer filter Colorizer generate color image based on input depth frame

Definition at line 715 of file rs_processing.hpp.

rs2::colorizer::colorizer ( float  color_scheme)
inline

Create colorizer processing block Colorizer generate color image base on input depth frame

Parameters
[in]color_scheme- select one of the available color schemes: 0 - Jet 1 - Classic 2 - WhiteToBlack 3 - BlackToWhite 4 - Bio 5 - Cold 6 - Warm 7 - Quantized 8 - Pattern 9 - Hue

Definition at line 731 of file rs_processing.hpp.

rs2::colorizer::colorizer ( std::shared_ptr< rs2_processing_block block)
inlineprotected

Definition at line 746 of file rs_processing.hpp.

Member Function Documentation

video_frame rs2::colorizer::colorize ( frame  depth) const
inline

Start to generate color image base on depth frame

Parameters
[in]depth- depth frame to be processed to generate the color image
Returns
video_frame - generated color image

Definition at line 740 of file rs_processing.hpp.

std::shared_ptr<rs2_processing_block> rs2::colorizer::init ( )
inlineprivate

Definition at line 749 of file rs_processing.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:40