Generates 3D point clouds based on a depth frame.
Can also map textures from a color frame.
Definition at line 412 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.


Public Member Functions | |
| pointcloud () | |
| create pointcloud instance More... | |
| pointcloud (rs2_stream stream, int index=0) | |
| points | calculate (frame depth) const |
| Generate the pointcloud and texture mappings of depth map. More... | |
| void | map_to (frame mapped) |
| Map the point cloud to the given color frame. More... | |
| pointcloud () | |
| create pointcloud instance More... | |
| pointcloud (rs2_stream stream, int index=0) | |
| points | calculate (frame depth) const |
| Generate the pointcloud and texture mappings of depth map. More... | |
| void | map_to (frame mapped) |
| Map the point cloud to the given color frame. More... | |
| rs2::frame | process (rs2::frame frame) const override |
| Ask processing block to process the frame and poll the processed frame from internal queue. More... | |
| rs2::frame | process (rs2::frame frame) const override |
| Ask processing block to process the frame and poll the processed frame from internal queue. More... | |
| frame_queue | get_queue () |
| frame_queue | get_queue () |
| rs2_processing_block * | get () const |
| rs2_processing_block * | get () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| bool | is () const |
| template<class T > | |
| T | as () const |
| template<class T > | |
| T | as () const |
| operator bool () const | |
| operator bool () const | |
| template<class S > | |
| void | start (S on_frame) |
| Start the processing block with callback function on_frame to inform the application the frame is processed. More... | |
| template<class S > | |
| void | start (S on_frame) |
| Start the processing block with callback function on_frame to inform the application the frame is processed. More... | |
| template<class S > | |
| S & | operator>> (S &on_frame) |
| Does the same thing as "start" function. More... | |
| template<class S > | |
| S & | operator>> (S &on_frame) |
| Does the same thing as "start" function. More... | |
| void | invoke (frame f) const |
| Ask processing block to process the frame. More... | |
| void | invoke (frame f) const |
| Ask processing block to process the frame. More... | |
| operator rs2_options * () const | |
| operator rs2_options * () const | |
| bool | supports (rs2_camera_info info) const |
| Check if a specific camera info field is supported. More... | |
| bool | supports (rs2_camera_info info) const |
| Check if a specific camera info field is supported. More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| bool | supports (rs2_option option) const |
| check if particular option is supported More... | |
| const char * | get_info (rs2_camera_info info) const |
| Retrieve camera specific information, like versions of various internal components. More... | |
| const char * | get_info (rs2_camera_info info) const |
| Retrieve camera specific information, like versions of various internal components. More... | |
| const char * | get_option_description (rs2_option option) const |
| get option description More... | |
| const char * | get_option_description (rs2_option option) const |
| get option description More... | |
| const char * | get_option_name (rs2_option option) const |
| get option name More... | |
| const char * | get_option_name (rs2_option option) const |
| get option name More... | |
| const char * | get_option_value_description (rs2_option option, float val) const |
| get option value description (in case specific option value hold special meaning) More... | |
| const char * | get_option_value_description (rs2_option option, float val) const |
| get option value description (in case specific option value hold special meaning) More... | |
| float | get_option (rs2_option option) const |
| read option's value More... | |
| float | get_option (rs2_option option) const |
| read option's value More... | |
| option_range | get_option_range (rs2_option option) const |
| retrieve the available range of values of a supported option More... | |
| option_range | get_option_range (rs2_option option) const |
| retrieve the available range of values of a supported option More... | |
| void | set_option (rs2_option option, float value) const |
| write new value to the option More... | |
| void | set_option (rs2_option option, float value) const |
| write new value to the option More... | |
| bool | is_option_read_only (rs2_option option) const |
| check if particular option is read-only More... | |
| bool | is_option_read_only (rs2_option option) const |
| check if particular option is read-only More... | |
| std::vector< rs2_option > | get_supported_options () |
| std::vector< rs2_option > | get_supported_options () |
Protected Member Functions | |
| pointcloud (std::shared_ptr< rs2_processing_block > block) | |
| pointcloud (std::shared_ptr< rs2_processing_block > block) | |
| void | register_simple_option (rs2_option option_id, option_range range) |
| void | register_simple_option (rs2_option option_id, option_range range) |
Protected Attributes | |
| frame_queue | _queue |
| std::shared_ptr< rs2_processing_block > | _block |
Friends | |
| class | context |
|
inline |
create pointcloud instance
Definition at line 418 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inline |
Definition at line 420 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References RS2_OPTION_STREAM_FILTER, RS2_OPTION_STREAM_INDEX_FILTER, and rs2::options::set_option().
|
inlineprotected |
Definition at line 461 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inline |
create pointcloud instance
Definition at line 418 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inline |
Definition at line 420 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References RS2_OPTION_STREAM_FILTER, RS2_OPTION_STREAM_INDEX_FILTER, and rs2::options::set_option().
|
inlineprotected |
Definition at line 461 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 398 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 398 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
Generate the pointcloud and texture mappings of depth map.
| [in] | depth | - the depth frame to generate point cloud and texture. |
Definition at line 431 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::process(), and pydeepstreamdoc::node::NodeDoc::set.
Generate the pointcloud and texture mappings of depth map.
| [in] | depth | - the depth frame to generate point cloud and texture. |
Definition at line 431 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::process(), and pydeepstreamdoc::node::NodeDoc::set.
|
inlineinherited |
Definition at line 388 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
Referenced by rs2::decimation_filter::decimation_filter(), rs2::depth_huffman_decoder::depth_huffman_decoder(), rs2::disparity_transform::disparity_transform(), rs2::hdr_merge::hdr_merge(), rs2::hole_filling_filter::hole_filling_filter(), rs2::sequence_id_filter::sequence_id_filter(), rs2::spatial_filter::spatial_filter(), rs2::temporal_filter::temporal_filter(), rs2::threshold_filter::threshold_filter(), and rs2::zero_order_invalidation::zero_order_invalidation().
|
inlineinherited |
Definition at line 388 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Retrieve camera specific information, like versions of various internal components.
| [in] | info | camera info type to retrieve |
Definition at line 323 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_get_processing_block_info().
|
inlineinherited |
Retrieve camera specific information, like versions of various internal components.
| [in] | info | camera info type to retrieve |
Definition at line 323 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_get_processing_block_info().
|
inlineinherited |
read option's value
| [in] | option | option id to be queried |
Definition at line 72 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option().
|
inlineinherited |
read option's value
| [in] | option | option id to be queried |
Definition at line 72 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option().
|
inlineinherited |
get option description
| [in] | option | option id to be checked |
Definition at line 32 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_description().
|
inlineinherited |
get option description
| [in] | option | option id to be checked |
Definition at line 32 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_description().
|
inlineinherited |
get option name
| [in] | option | option id to be checked |
Definition at line 45 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_name().
|
inlineinherited |
get option name
| [in] | option | option id to be checked |
Definition at line 45 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_get_option_name().
|
inlineinherited |
retrieve the available range of values of a supported option
Definition at line 84 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_get_option_range(), and rs2::option_range::step.
|
inlineinherited |
retrieve the available range of values of a supported option
Definition at line 84 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_get_option_range(), and rs2::option_range::step.
|
inlineinherited |
get option value description (in case specific option value hold special meaning)
| [in] | option | option id to be checked |
| [in] | val | value of the option |
Definition at line 59 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), rs2_get_option_value_description(), and val.
|
inlineinherited |
get option value description (in case specific option value hold special meaning)
| [in] | option | option id to be checked |
| [in] | val | value of the option |
Definition at line 59 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), rs2_get_option_value_description(), and val.
|
inlineinherited |
Definition at line 387 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue.
|
inlineinherited |
Definition at line 387 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue.
|
inlineinherited |
Definition at line 119 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2_delete_options_list(), rs2_get_option_from_list(), rs2_get_options_list(), and rs2_get_options_list_size().
|
inlineinherited |
Definition at line 119 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2_delete_options_list(), rs2_get_option_from_list(), rs2_get_options_list(), and rs2_get_options_list_size().
|
inlineinherited |
Ask processing block to process the frame.
| [in] | on_frame | frame to be processed. |
Definition at line 267 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), rs2_process_frame(), and absl::swap_internal::swap().
Referenced by rs2::syncer::operator()(), and rs2::filter::process().
|
inlineinherited |
Ask processing block to process the frame.
| [in] | on_frame | frame to be processed. |
Definition at line 267 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), rs2_process_frame(), and absl::swap_internal::swap().
|
inlineinherited |
Definition at line 391 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
Definition at line 391 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
inlineinherited |
check if particular option is read-only
| [in] | option | option id to be checked |
Definition at line 111 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_is_option_read_only().
|
inlineinherited |
check if particular option is read-only
| [in] | option | option id to be checked |
Definition at line 111 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_is_option_read_only().
|
inline |
Map the point cloud to the given color frame.
| [in] | mapped | - the frame to be mapped to as texture. |
Definition at line 452 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::stream_profile::format(), rs2::frame::get_profile(), rs2::filter::process(), RS2_OPTION_STREAM_FILTER, RS2_OPTION_STREAM_FORMAT_FILTER, RS2_OPTION_STREAM_INDEX_FILTER, rs2::options::set_option(), rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_type().
|
inline |
Map the point cloud to the given color frame.
| [in] | mapped | - the frame to be mapped to as texture. |
Definition at line 452 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::stream_profile::format(), rs2::frame::get_profile(), rs2::filter::process(), RS2_OPTION_STREAM_FILTER, RS2_OPTION_STREAM_FORMAT_FILTER, RS2_OPTION_STREAM_INDEX_FILTER, rs2::options::set_option(), rs2::stream_profile::stream_index(), and rs2::stream_profile::stream_type().
|
inlineinherited |
Definition at line 404 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Definition at line 404 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block.
|
inlineinherited |
Definition at line 302 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get().
|
inlineinherited |
Definition at line 302 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get().
|
inlineinherited |
Does the same thing as "start" function.
| [in] | on_frame | address of callback function for noticing the frame to be processed is ready. |
Definition at line 257 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::start().
|
inlineinherited |
Does the same thing as "start" function.
| [in] | on_frame | address of callback function for noticing the frame to be processed is ready. |
Definition at line 257 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::start().
|
inlineoverridevirtualinherited |
Ask processing block to process the frame and poll the processed frame from internal queue.
| [in] | on_frame | frame to be processed. return processed frame |
Implements rs2::filter_interface.
Definition at line 352 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue, rs2::processing_block::invoke(), and rs2::frame_queue::poll_for_frame().
Referenced by rs2::frame::apply_filter(), calculate(), rs2::colorizer::colorize(), map_to(), and rs2::align::process().
|
inlineoverridevirtualinherited |
Ask processing block to process the frame and poll the processed frame from internal queue.
| [in] | on_frame | frame to be processed. return processed frame |
Implements rs2::filter_interface.
Definition at line 352 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::filter::_queue, rs2::processing_block::invoke(), and rs2::frame_queue::poll_for_frame().
|
inlineprotectedinherited |
Definition at line 331 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_processing_block_register_simple_option(), and rs2::option_range::step.
|
inlineprotectedinherited |
Definition at line 331 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::option_range::def, rs2::error::handle(), rs2::option_range::max, rs2::option_range::min, rs2_processing_block_register_simple_option(), and rs2::option_range::step.
|
inlineinherited |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | new value for the option |
Definition at line 99 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_set_option().
Referenced by rs2::colorizer::colorizer(), rs2::decimation_filter::decimation_filter(), rs2::hole_filling_filter::hole_filling_filter(), map_to(), pointcloud(), rs2::sequence_id_filter::sequence_id_filter(), rs2::spatial_filter::spatial_filter(), rs2::temporal_filter::temporal_filter(), and rs2::threshold_filter::threshold_filter().
|
inlineinherited |
write new value to the option
| [in] | option | option id to be queried |
| [in] | value | new value for the option |
Definition at line 99 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_set_option().
|
inlineinherited |
Start the processing block with callback function on_frame to inform the application the frame is processed.
| [in] | on_frame | callback function for notifying the frame to be processed is ready. |
Definition at line 244 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), and rs2_start_processing().
Referenced by rs2::filter::filter(), rs2::processing_block::operator>>(), and rs2::syncer::syncer().
|
inlineinherited |
Start the processing block with callback function on_frame to inform the application the frame is processed.
| [in] | on_frame | callback function for notifying the frame to be processed is ready. |
Definition at line 244 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::get(), rs2::error::handle(), and rs2_start_processing().
|
inlineinherited |
Check if a specific camera info field is supported.
| [in] | info | the parameter to check for support |
Definition at line 310 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_supports_processing_block_info().
|
inlineinherited |
Check if a specific camera info field is supported.
| [in] | info | the parameter to check for support |
Definition at line 310 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
References rs2::processing_block::_block, rs2::error::handle(), and rs2_supports_processing_block_info().
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
References rs2::error::handle(), and rs2_supports_option().
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file 9.2/sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
inlineinherited |
check if particular option is supported
| [in] | option | option id to be checked |
Definition at line 19 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_options.hpp.
|
friend |
Definition at line 464 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
|
protectedinherited |
Definition at line 337 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
Referenced by rs2::decimation_filter::decimation_filter(), rs2::depth_huffman_decoder::depth_huffman_decoder(), rs2::disparity_transform::disparity_transform(), rs2::processing_block::get(), rs2::filter::get(), rs2::processing_block::get_info(), rs2::hdr_merge::hdr_merge(), rs2::hole_filling_filter::hole_filling_filter(), rs2::filter::operator bool(), rs2::processing_block::processing_block(), rs2::processing_block::register_simple_option(), rs2::sequence_id_filter::sequence_id_filter(), rs2::spatial_filter::spatial_filter(), rs2::processing_block::supports(), rs2::temporal_filter::temporal_filter(), rs2::threshold_filter::threshold_filter(), and rs2::zero_order_invalidation::zero_order_invalidation().
|
protectedinherited |
Definition at line 406 of file sources/libs/ds3d/3rdparty/realsense2/include/librealsense2/hpp/rs_processing.hpp.
Referenced by rs2::filter::filter(), rs2::filter::get_queue(), and rs2::filter::process().