3 #ifndef __KINECT_FUSION_HPP__
4 #define __KINECT_FUSION_HPP__
8 #include <yarp/os/Searchable.h>
9 #include <yarp/sig/Image.h>
10 #include <yarp/sig/IntrinsicParams.h>
11 #include <yarp/sig/Matrix.h>
12 #include <yarp/sig/PointCloud.h>
22 virtual void getCloud(yarp::sig::PointCloudXYZNormalRGBA & cloudWithNormals)
const = 0;
24 virtual void getPoints(yarp::sig::PointCloudXYZ & cloud)
const = 0;
26 virtual void getPose(yarp::sig::Matrix & pose)
const = 0;
28 virtual bool update(
const yarp::sig::ImageOf<yarp::sig::PixelFloat> & depthFrame,
const yarp::sig::FlexImage & colorFrame = {}) = 0;
30 virtual void reset() = 0;
32 virtual void render(yarp::sig::FlexImage & image)
const = 0;
35 std::unique_ptr<KinectFusion> makeKinFu(
const yarp::os::Searchable & config,
36 const yarp::sig::IntrinsicParams & intrinsic,
37 int width,
int height);
40 std::unique_ptr<KinectFusion> makeDynaFu(
const yarp::os::Searchable & config,
41 const yarp::sig::IntrinsicParams & intrinsic,
42 int width,
int height);
46 std::unique_ptr<KinectFusion> makeKinFuLargeScale(
const yarp::os::Searchable & config,
47 const yarp::sig::IntrinsicParams & intrinsic,
48 int width,
int height);
51 #ifdef HAVE_COLORED_KINFU
52 std::unique_ptr<KinectFusion> makeColoredKinFu(
const yarp::os::Searchable & config,
53 const yarp::sig::IntrinsicParams & depthIntrinsic,
54 const yarp::sig::IntrinsicParams & colorIntrinsic,
55 int depthWidth,
int depthHeight,
56 int colorWidth,
int colorHeight);
Definition: KinectFusion.hpp:18
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5