43 #include <visp3/core/vpConfig.h>
45 #if defined(VISP_HAVE_LIBFREENECT_AND_DEPENDENCIES) && defined(VISP_HAVE_THREADS)
48 #include <libfreenect.hpp>
51 #include <visp3/core/vpCameraParameters.h>
52 #include <visp3/core/vpHomogeneousMatrix.h>
53 #include <visp3/core/vpImage.h>
54 #include <visp3/core/vpMeterPixelConversion.h>
55 #include <visp3/core/vpPixelMeterConversion.h>
114 class VISP_EXPORT
vpKinect :
public Freenect::FreenectDevice
135 vpKinect(freenect_context *ctx,
int index);
157 void VideoCallback(
void *rgb, uint32_t timestamp);
160 void DepthCallback(
void *depth, uint32_t timestamp);
163 std::mutex m_rgb_mutex;
164 std::mutex m_depth_mutex;
171 vpDMResolution DMres;
178 bool m_new_rgb_frame;
179 bool m_new_depth_map;
180 bool m_new_depth_image;
Generic class defining intrinsic camera parameters.
Implementation of an homogeneous matrix and operations on such kind of matrices.
Driver for the Kinect-1 device.
void getIRCamParameters(vpCameraParameters &cam) const
void setIRCamParameters(const vpCameraParameters &cam)
void setRGBCamParameters(const vpCameraParameters &cam)
void getRGBCamParameters(vpCameraParameters &cam) const