Public Member Functions | Protected Member Functions | Private Attributes | List of all members
post_processing_filter Class Referenceabstract

#include <post-processing-filter.h>

Inheritance diagram for post_processing_filter:
Inheritance graph
[legend]

Public Member Functions

std::string const & get_name () const
 
virtual void on_processing_block_enable (bool e)
 
virtual void start (rs2::subdevice_model &model)
 
- 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

std::string get_context (rs2::frame f=rs2::frame()) const
 
void get_trinsics (rs2::video_frame cf, rs2::depth_frame df, rs2_intrinsics &color_intrin, rs2_intrinsics &depth_intrin, rs2_extrinsics &color_extrin, rs2_extrinsics &depth_extrin)
 
bool is_pb_enabled () const
 
 post_processing_filter (std::string const &name)
 
virtual rs2::frame process_frame (rs2::frame fs)=0
 
rs2::rect project_rect_to_depth (rs2::rect const &bbox, rs2::depth_frame df, rs2_intrinsics const &color_intrin, rs2_intrinsics const &depth_intrin, rs2_extrinsics const &color_extrin, rs2_extrinsics const &depth_extrin)
 
- 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 Attributes

std::string _name
 
bool _pb_enabled
 

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 19 of file post-processing-filter.h.

Constructor & Destructor Documentation

post_processing_filter::post_processing_filter ( std::string const &  name)
inlineprotected

Definition at line 27 of file post-processing-filter.h.

Member Function Documentation

std::string post_processing_filter::get_context ( rs2::frame  f = rs2::frame()) const
inlineprotected

Definition at line 62 of file post-processing-filter.h.

std::string const& post_processing_filter::get_name ( ) const
inline

Definition at line 48 of file post-processing-filter.h.

void post_processing_filter::get_trinsics ( rs2::video_frame  cf,
rs2::depth_frame  df,
rs2_intrinsics color_intrin,
rs2_intrinsics depth_intrin,
rs2_extrinsics color_extrin,
rs2_extrinsics depth_extrin 
)
inlineprotected

Definition at line 72 of file post-processing-filter.h.

bool post_processing_filter::is_pb_enabled ( ) const
inlineprotected

Definition at line 37 of file post-processing-filter.h.

virtual void post_processing_filter::on_processing_block_enable ( bool  e)
inlinevirtual

Reimplemented in openvino_face_detection.

Definition at line 42 of file post-processing-filter.h.

virtual rs2::frame post_processing_filter::process_frame ( rs2::frame  fs)
protectedpure virtual
rs2::rect post_processing_filter::project_rect_to_depth ( rs2::rect const &  bbox,
rs2::depth_frame  df,
rs2_intrinsics const &  color_intrin,
rs2_intrinsics const &  depth_intrin,
rs2_extrinsics const &  color_extrin,
rs2_extrinsics const &  depth_extrin 
)
inlineprotected

Definition at line 91 of file post-processing-filter.h.

virtual void post_processing_filter::start ( rs2::subdevice_model model)
inlinevirtual

Reimplemented in openvino_face_detection, and post_processing_worker_filter.

Definition at line 50 of file post-processing-filter.h.

Member Data Documentation

std::string post_processing_filter::_name
private

Definition at line 21 of file post-processing-filter.h.

bool post_processing_filter::_pb_enabled
private

Definition at line 22 of file post-processing-filter.h.


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