38#include <visp3/core/vpConfig.h>
40#if defined(VISP_HAVE_LIBFREENECT_AND_DEPENDENCIES) && defined(VISP_HAVE_THREADS)
43#include <libfreenect.hpp>
46#include <visp3/core/vpCameraParameters.h>
47#include <visp3/core/vpHomogeneousMatrix.h>
48#include <visp3/core/vpImage.h>
49#include <visp3/core/vpMeterPixelConversion.h>
50#include <visp3/core/vpPixelMeterConversion.h>
109class VISP_EXPORT
vpKinect :
public Freenect::FreenectDevice
130 vpKinect(freenect_context *ctx,
int index);
152 void VideoCallback(
void *rgb, uint32_t timestamp);
155 void DepthCallback(
void *depth, uint32_t timestamp);
158 std::mutex m_rgb_mutex;
159 std::mutex m_depth_mutex;
166 vpDMResolution DMres;
173 bool m_new_rgb_frame;
174 bool m_new_depth_map;
175 bool m_new_depth_image;
Generic class defining intrinsic camera parameters.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Definition of the vpImage class member functions.
Driver for the Kinect-1 device.
vpKinect(freenect_context *ctx, int index)
void getIRCamParameters(vpCameraParameters &cam) const
void setIRCamParameters(const vpCameraParameters &cam)
void setRGBCamParameters(const vpCameraParameters &cam)
void getRGBCamParameters(vpCameraParameters &cam) const