Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
|
#include <rs_processing.hpp>
Public Member Functions | |
template<class S > | |
void | start (S on_frame) |
template<class S > | |
S & | operator>> (S &on_frame) |
void | invoke (frame f) const |
processing_block (std::shared_ptr< rs2_processing_block > block) | |
template<class S > | |
processing_block (S processing_function) | |
operator rs2_options * () const | |
rs2_processing_block * | get () const |
bool | supports (rs2_camera_info info) const |
const char * | get_info (rs2_camera_info info) const |
bool | supports (rs2_option option) const |
Public Member Functions inherited from rs2::options | |
bool | supports (rs2_option option) const |
const char * | get_option_description (rs2_option option) const |
const char * | get_option_name (rs2_option option) const |
const char * | get_option_value_description (rs2_option option, float val) const |
float | get_option (rs2_option option) const |
option_value | get_option_value (rs2_option option_id) const |
option_range | get_option_range (rs2_option option) const |
void | set_option (rs2_option option, float value) const |
void | set_option_value (option_value const &value) const |
bool | is_option_read_only (rs2_option option) const |
void | on_options_changed (std::function< void(const options_list &) > callback) const |
std::vector< rs2_option > | get_supported_options () |
options_list | get_supported_option_values () |
options & | operator= (const options &other) |
options (const options &other) | |
virtual | ~options ()=default |
Protected Member Functions | |
void | register_simple_option (rs2_option option_id, option_range range) |
Protected Member Functions inherited from rs2::options | |
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. |
|
inline |
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 |
|
inline |
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 |
|
inline |
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 particular option is supported
[in] | option | option id to be checked |
|
inline |
Check if a specific camera info field is supported.
[in] | info | the parameter to check for support |
|
protected |