Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
librealsense::disparity_transform Class Reference

#include <disparity-transform.h>

Inheritance diagram for librealsense::disparity_transform:
Inheritance graph

Public Member Functions

 disparity_transform (bool transform_to_disparity)
rs2::frame process_frame (const rs2::frame_source &source, const rs2::frame &f) override
bool should_process (const rs2::frame &frame) override
- Public Member Functions inherited from librealsense::generic_processing_block
 generic_processing_block (const char *name)
virtual ~generic_processing_block ()
- Public Member Functions inherited from librealsense::processing_block
synthetic_source_interfaceget_source () override
void invoke (frame_holder frames) override
 processing_block (const char *name)
void set_output_callback (frame_callback_ptr callback) override
void set_processing_callback (frame_processor_callback_ptr callback) override
virtual ~processing_block ()
- Public Member Functions inherited from librealsense::processing_block_interface
virtual ~processing_block_interface ()=default
- Public Member Functions inherited from librealsense::options_interface
virtual ~options_interface ()=default
- Public Member Functions inherited from librealsense::recordable< options_interface >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::info_interface
virtual ~info_interface ()=default
- Public Member Functions inherited from librealsense::recordable< info_interface >
virtual ~recordable ()=default
- Public Member Functions inherited from librealsense::options_container
void create_snapshot (std::shared_ptr< options_interface > &snapshot) const override
void enable_recording (std::function< void(const options_interface &)> record_action) override
optionget_option (rs2_option id) override
const optionget_option (rs2_option id) const override
std::shared_ptr< optionget_option_handler (rs2_option id)
std::shared_ptr< optionget_option_handler (rs2_option id) const
virtual const char * get_option_name (rs2_option option) const override
std::vector< rs2_optionget_supported_options () const override
void register_option (rs2_option id, std::shared_ptr< option > option)
bool supports_option (rs2_option id) const override
void unregister_option (rs2_option id)
void update (std::shared_ptr< extension_snapshot > ext) override
- Public Member Functions inherited from librealsense::extension_snapshot
virtual ~extension_snapshot ()=default
- Public Member Functions inherited from librealsense::info_container
void create_snapshot (std::shared_ptr< info_interface > &snapshot) const override
void enable_recording (std::function< void(const info_interface &)> record_action) override
const std::stringget_info (rs2_camera_info info) const override
void register_info (rs2_camera_info info, const std::string &val)
bool supports_info (rs2_camera_info info) const override
void update (std::shared_ptr< extension_snapshot > ext) override
void update_info (rs2_camera_info info, const std::string &val)

Protected Member Functions

template<typename Tin , typename Tout >
void convert (const void *in_data, void *out_data)
rs2::frame prepare_target_frame (const rs2::frame &f, const rs2::frame_source &source)
- Protected Member Functions inherited from librealsense::generic_processing_block
virtual rs2::frame prepare_output (const rs2::frame_source &source, rs2::frame input, std::vector< rs2::frame > results)

Private Member Functions

void on_set_mode (bool to_disparity)
void update_transformation_profile (const rs2::frame &f)

Private Attributes

size_t _bpp
float _d2d_convert_factor
float _depth_units
size_t _height
rs2::stream_profile _source_stream_profile
float _stereo_baseline_meter
bool _stereoscopic_depth
rs2::stream_profile _target_stream_profile
bool _transform_to_disparity
bool _update_target
size_t _width

Additional Inherited Members

- Protected Attributes inherited from librealsense::processing_block
frame_processor_callback_ptr _callback
std::mutex _mutex
frame_source _source
synthetic_source _source_wrapper
- Protected Attributes inherited from librealsense::options_container
std::map< rs2_option, std::shared_ptr< option > > _options
std::function< void(const options_interface &)> _recording_function = [](const options_interface&) {}

Detailed Description

Definition at line 14 of file disparity-transform.h.

Constructor & Destructor Documentation

librealsense::disparity_transform::disparity_transform ( bool  transform_to_disparity)

Definition at line 18 of file disparity-transform.cpp.

Member Function Documentation

template<typename Tin , typename Tout >
void librealsense::disparity_transform::convert ( const void in_data,
void out_data 

Definition at line 25 of file disparity-transform.h.

void librealsense::disparity_transform::on_set_mode ( bool  to_disparity)

Definition at line 84 of file disparity-transform.cpp.

rs2::frame librealsense::disparity_transform::prepare_target_frame ( const rs2::frame f,
const rs2::frame_source source 

Definition at line 124 of file disparity-transform.cpp.

rs2::frame librealsense::disparity_transform::process_frame ( const rs2::frame_source source,
const rs2::frame f 

Implements librealsense::generic_processing_block.

Definition at line 65 of file disparity-transform.cpp.

bool librealsense::disparity_transform::should_process ( const rs2::frame frame)

Implements librealsense::generic_processing_block.

Definition at line 44 of file disparity-transform.cpp.

void librealsense::disparity_transform::update_transformation_profile ( const rs2::frame f)

Definition at line 91 of file disparity-transform.cpp.

Member Data Documentation

size_t librealsense::disparity_transform::_bpp

Definition at line 64 of file disparity-transform.h.

float librealsense::disparity_transform::_d2d_convert_factor

Definition at line 62 of file disparity-transform.h.

float librealsense::disparity_transform::_depth_units

Definition at line 61 of file disparity-transform.h.

size_t librealsense::disparity_transform::_height

Definition at line 63 of file disparity-transform.h.

rs2::stream_profile librealsense::disparity_transform::_source_stream_profile

Definition at line 56 of file disparity-transform.h.

float librealsense::disparity_transform::_stereo_baseline_meter

Definition at line 60 of file disparity-transform.h.

bool librealsense::disparity_transform::_stereoscopic_depth

Definition at line 59 of file disparity-transform.h.

rs2::stream_profile librealsense::disparity_transform::_target_stream_profile

Definition at line 57 of file disparity-transform.h.

bool librealsense::disparity_transform::_transform_to_disparity

Definition at line 55 of file disparity-transform.h.

bool librealsense::disparity_transform::_update_target

Definition at line 58 of file disparity-transform.h.

size_t librealsense::disparity_transform::_width

Definition at line 63 of file disparity-transform.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:37