OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Imaging.cpp File Reference

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 &timestamp, osvr::clientkit::ImagingReport report)
 
int main ()
 

Variables

bool gotSomething = false
 

Detailed Description

Implementation.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file Imaging.cpp.

Function Documentation

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.