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

#include <zero-order.h>

Inheritance diagram for librealsense::zero_order:
Inheritance graph

Public Member Functions

rs2::frame process_frame (const rs2::frame_source &source, const rs2::frame &f) override
 zero_order (std::shared_ptr< bool_option > is_enabled_opt=nullptr)
- 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
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)

Private Member Functions

const char * get_option_name (rs2_option option) const override
std::pair< int, int > get_zo_point (const rs2::frame &frame)
rs2::frame prepare_output (const rs2::frame_source &source, rs2::frame input, std::vector< rs2::frame > results) override
bool should_process (const rs2::frame &frame) override
bool try_read_baseline (const rs2::frame &frame)
ivcam2::intrinsic_params try_read_intrinsics (const rs2::frame &frame)

Private Attributes

bool _first_frame
std::weak_ptr< bool_option_is_enabled_opt
zero_order_options _options
rs2::pointcloud _pc
ivcam2::intrinsic_params _resolutions_depth
rs2::stream_profile _source_profile_confidence
rs2::stream_profile _source_profile_depth
rs2::stream_profile _target_profile_confidence
rs2::stream_profile _target_profile_depth

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 49 of file zero-order.h.

Constructor & Destructor Documentation

librealsense::zero_order::zero_order ( std::shared_ptr< bool_option is_enabled_opt = nullptr)

Definition at line 161 of file zero-order.cpp.

Member Function Documentation

const char * librealsense::zero_order::get_option_name ( rs2_option  option) const

Reimplemented from librealsense::options_container.

Definition at line 304 of file zero-order.cpp.

std::pair< int, int > librealsense::zero_order::get_zo_point ( const rs2::frame frame)

Definition at line 376 of file zero-order.cpp.

rs2::frame librealsense::zero_order::prepare_output ( const rs2::frame_source source,
rs2::frame  input,
std::vector< rs2::frame results 

Reimplemented from librealsense::generic_processing_block.

Definition at line 507 of file zero-order.cpp.

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

Implements librealsense::generic_processing_block.

Definition at line 382 of file zero-order.cpp.

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

Implements librealsense::generic_processing_block.

Definition at line 476 of file zero-order.cpp.

bool librealsense::zero_order::try_read_baseline ( const rs2::frame frame)

Definition at line 331 of file zero-order.cpp.

ivcam2::intrinsic_params librealsense::zero_order::try_read_intrinsics ( const rs2::frame frame)

Definition at line 353 of file zero-order.cpp.

Member Data Documentation

bool librealsense::zero_order::_first_frame

Definition at line 73 of file zero-order.h.

std::weak_ptr<bool_option> librealsense::zero_order::_is_enabled_opt

Definition at line 76 of file zero-order.h.

zero_order_options librealsense::zero_order::_options

Definition at line 75 of file zero-order.h.

rs2::pointcloud librealsense::zero_order::_pc

Definition at line 71 of file zero-order.h.

ivcam2::intrinsic_params librealsense::zero_order::_resolutions_depth

Definition at line 77 of file zero-order.h.

rs2::stream_profile librealsense::zero_order::_source_profile_confidence

Definition at line 68 of file zero-order.h.

rs2::stream_profile librealsense::zero_order::_source_profile_depth

Definition at line 65 of file zero-order.h.

rs2::stream_profile librealsense::zero_order::_target_profile_confidence

Definition at line 69 of file zero-order.h.

rs2::stream_profile librealsense::zero_order::_target_profile_depth

Definition at line 66 of file zero-order.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:38