Implementation. More...
#include <osvr/ClientKit/Context.h>
#include <osvr/ClientKit/Interface.h>
#include <osvr/ClientKit/Imaging.h>
#include <osvr/Util/OpenCVTypeDispatch.h>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
void | imagingCallback (void *userdata, osvr::util::time::TimeValue const ×tamp, osvr::clientkit::ImagingReport report) |
int | main () |
Variables | |
bool | gotSomething = false |
void imagingCallback | ( | void * | userdata, |
osvr::util::time::TimeValue const & | timestamp, | ||
osvr::clientkit::ImagingReport | report | ||
) |
The first time, let's print some info.
Definition at line 45 of file Imaging.cpp.
int main | ( | ) |
We keep a copy of the last report to avoid de-allocating the image buffer until we have a new report.
Definition at line 70 of file Imaging.cpp.