48 #include <visp/vpConfig.h>
50 #if defined(VISP_HAVE_LIBFREENECT_AND_DEPENDENCIES)
53 #include <libfreenect.hpp>
55 #include <visp/vpMutex.h>
56 #include <visp/vpImage.h>
57 #include <visp/vpHomogeneousMatrix.h>
58 #include <visp/vpCameraParameters.h>
59 #include <visp/vpPixelMeterConversion.h>
60 #include <visp/vpMeterPixelConversion.h>
112 class VISP_EXPORT
vpKinect :
public Freenect::FreenectDevice
123 vpKinect(freenect_context *ctx,
int index);
126 #ifndef DOXYGEN_SHOULD_SKIP_THIS
159 void VideoCallback(
void* rgb, uint32_t timestamp);
162 void DepthCallback(
void* depth, uint32_t timestamp);
171 vpDMResolution DMres;
178 bool m_new_rgb_frame;
179 bool m_new_depth_map;
180 bool m_new_depth_image;
void getRGBCamParameters(vpCameraParameters &cam) const
The class provides a data structure for the homogeneous matrices as well as a set of operations on th...
void setIRCamParameters(const vpCameraParameters &cam)
error that can be emited by ViSP classes.
Driver for the Kinect device.
Class that allows protection by mutex.
Generic class defining intrinsic camera parameters.
void getIRCamParameters(vpCameraParameters &cam) const
void setRGBCamParameters(const vpCameraParameters &cam)