Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <rs_processing.hpp>
Protected Member Functions | |
void | register_simple_option (rs2_option option_id, option_range range) |
![]() | |
options (rs2_options *o=nullptr) | |
template<class T > | |
options & | operator= (const T &dev) |
Protected Attributes | |
std::shared_ptr< rs2_processing_block > | _block |
Define the processing block flow, inherit this class to generate your own processing_block. Please refer to the viewer class in examples.hpp for a detailed usage example.
|
inline |
constructor with already created low level processing block assigned.
[in] | block | - low level rs2_processing_block created before. |
constructor with callback function on_frame in rs2_frame_processor_callback structure assigned.
[in] | processing_function | - function pointer of on_frame function in rs2_frame_processor_callback structure, which will be called back by invoke function . |
|
inline |
|
inline |
Retrieve camera specific information, like versions of various internal components.
[in] | info | camera info type to retrieve |
Ask processing block to process the frame
[in] | on_frame | frame to be processed. |
|
inline |
|
inline |
Does the same thing as "start" function
[in] | on_frame | address of callback function for noticing the frame to be processed is ready. |
|
inlineprotected |
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. |
|
inline |
Check if a specific camera info field is supported.
[in] | info | the parameter to check for support |
|
inline |
check if particular option is supported
[in] | option | option id to be checked |
|
protected |