OSVR-Core
|
Public Member Functions | |
DK2WrappedImageSource (ImageSourcePtr &&cam, bool doHid) | |
bool | ok () const override |
bool | grab () override |
Trigger camera capture. More... | |
void | retrieve (cv::Mat &color, cv::Mat &gray, osvr::util::time::TimeValue ×tamp) override |
Call after grab() to get the actual image data. | |
cv::Size | resolution () const override |
Get resolution of the images from this source. | |
void | retrieveColor (cv::Mat &color, osvr::util::time::TimeValue ×tamp) override |
For those devices that naturally read a non-corrupt color image, overriding just this method will let the default implementation of retrieve() do the RGB to Gray for you. More... | |
DK2WrappedImageSource (ImageSourcePtr &&cam, bool doHid) | |
bool | ok () const override |
bool | grab () override |
Trigger camera capture. More... | |
void | retrieve (cv::Mat &color, cv::Mat &gray) override |
Call after grab() to get the actual image data. | |
cv::Size | resolution () const override |
Get resolution of the images from this source. | |
void | retrieveColor (cv::Mat &color) override |
For those devices that naturally read a non-corrupt color image, overriding just this method will let the default implementation of retrieve() do the RGB to Gray for you. More... | |
![]() | |
virtual | ~ImageSource () |
Destructor. | |
void | retrieve (cv::Mat &color, cv::Mat &gray) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. discards timestamp. More... | |
void | retrieveColor (cv::Mat &color) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. discards timestamp. More... | |
virtual | ~ImageSource () |
Destructor. | |
|
overridevirtual |
Trigger camera capture.
May not necessarily include retrieval. Blocks until an image is available. or failure occurs.
Timestamp after this call returns.
Implements osvr::vbtracker::ImageSource.
|
overridevirtual |
Trigger camera capture.
May not necessarily include retrieval. Blocks until an image is available. or failure occurs.
Timestamp after this call returns.
Implements osvr::vbtracker::ImageSource.
|
inlineoverridevirtual |
Implements osvr::vbtracker::ImageSource.
|
inlineoverridevirtual |
Implements osvr::vbtracker::ImageSource.
|
overridevirtual |
For those devices that naturally read a non-corrupt color image, overriding just this method will let the default implementation of retrieve() do the RGB to Gray for you.
Implements osvr::vbtracker::ImageSource.
|
overridevirtual |
For those devices that naturally read a non-corrupt color image, overriding just this method will let the default implementation of retrieve() do the RGB to Gray for you.
Implements osvr::vbtracker::ImageSource.