licornea_tools
freenect2.h
Go to the documentation of this file.
1 #ifndef LICORNEA_WITH_LIBFREENECT2
2 #error freenect2.h can only be included when building with Freenect2
3 #endif
4 
5 #ifndef LICORNEA_FREENECT2_H_
6 #define LICORNEA_FREENECT2_H_
7 
8 #include <libfreenect2/libfreenect2.hpp>
10 #include <utility>
11 
12 namespace tlz {
13 
14 using freenect2_color_params = libfreenect2::Freenect2Device::ColorCameraParams;
15 using freenect2_ir_params = libfreenect2::Freenect2Device::IrCameraParams;
16 
17 
18 std::pair<freenect2_color_params, freenect2_ir_params> to_freenect2(const kinect_internal_parameters&);
20 
21 
22 }
23 
24 #endif
kinect_internal_parameters from_freenect2(const freenect2_color_params &, const freenect2_ir_params &)
std::pair< freenect2_color_params, freenect2_ir_params > to_freenect2(const kinect_internal_parameters &)
libfreenect2::Freenect2Device::ColorCameraParams freenect2_color_params
Definition: freenect2.h:14
libfreenect2::Freenect2Device::IrCameraParams freenect2_ir_params
Definition: freenect2.h:15