Notice: MediaWiki has been updated. Report any rough edges to marcan@marcan.st

Difference between revisions of "C++ Wrapper"

From OpenKinect
Jump to: navigation, search
(Created page with "To use the C++ interface to libfreenect: * include libfreenect.hpp * derive a class from FreenectDevice * define callbacks in a way you need them. Please see the example cppvie...")
 
Line 2: Line 2:
 
* include libfreenect.hpp
 
* include libfreenect.hpp
 
* derive a class from FreenectDevice
 
* derive a class from FreenectDevice
* define callbacks in a way you need them.
+
* define callbacks.
  
Please see the example cppview.cpp, it is included in the repository.
+
See the example cppview.cpp, it is included in the repository.
 +
 
 +
== Using the C++ Wrapper for OpenCV ==
 +
 
 +
In order to use the C++ wrapper together with OpenCV, you will need to derive a class from FreenectDevice that implements callbacks and get() functions compatible with OpenCV.
 +
 
 +
* [[C++OpenCvExample]]

Revision as of 12:27, 17 December 2010

To use the C++ interface to libfreenect:

  • include libfreenect.hpp
  • derive a class from FreenectDevice
  • define callbacks.

See the example cppview.cpp, it is included in the repository.

Using the C++ Wrapper for OpenCV

In order to use the C++ wrapper together with OpenCV, you will need to derive a class from FreenectDevice that implements callbacks and get() functions compatible with OpenCV.