A class wrapping a cv::Mat representing a frame, as well as the sensor ID it corresponds to. Pass to osvr::pluginkit::DeviceToken::send() along with your osvr::pluginkit::ImagingInterface. More...
#include <osvr/PluginKit/ImagingInterface.h>
Public Member Functions | |
| ImagingMessage (cv::Mat const &frame, OSVR_ChannelCount sensor=0) | |
| Constructor, optionally taking a sensor number. Clones the supplied image/data as the imaging interface will take ownership of the given buffer and free it when done. | |
| cv::Mat const & | getFrame () const |
| Retrieves a reference to the cv::Mat object. | |
| OSVR_ImageBufferElement * | getBuf () const |
| Retrieves the (cloned) buffer pointer. | |
| OSVR_ChannelCount | getSensor () const |
| Gets the sensor number. | |
A class wrapping a cv::Mat representing a frame, as well as the sensor ID it corresponds to. Pass to osvr::pluginkit::DeviceToken::send() along with your osvr::pluginkit::ImagingInterface.
Definition at line 55 of file ImagingInterface.h.