RobotsIO
Loading...
Searching...
No Matches
Transform.h
1/*
2 * Copyright (C) 2019 Istituto Italiano di Tecnologia (IIT)
3 *
4 * This software may be modified and distributed under the terms of the
5 * BSD 3-Clause license. See the accompanying LICENSE file for details.
6 */
7
8#ifndef ROBOTSIO_TRANSFORM_H
9#define ROBOTSIO_TRANSFORM_H
10
11#include <RobotsIO/Utils/DataStream.h>
12
13#include <opencv2/opencv.hpp>
14
15#include <Eigen/Dense>
16
17namespace RobotsIO {
18 namespace Utils {
19 class Transform;
20 }
21}
22
23
25{
26public:
27 virtual ~Transform();
28
29 virtual Eigen::Transform<double, 3, Eigen::Affine> transform() = 0;
30
41 virtual Eigen::MatrixXd bounding_box();
42
50 virtual int get_frames_between_iterations() const;
51
56 virtual void set_rgb_image(const cv::Mat& image);
57
62 virtual void set_depth_segmentation_image(const Eigen::MatrixXf& depth, const cv::Mat& segmentation);
63
78 virtual bool transform_received();
79};
80
81#endif /* ROBOTSIO_TRANSFORM_H */
virtual Eigen::MatrixXd bounding_box()
Definition: Transform.cpp:17
virtual void set_rgb_image(const cv::Mat &image)
Definition: Transform.cpp:32
virtual void set_depth_segmentation_image(const Eigen::MatrixXf &depth, const cv::Mat &segmentation)
Definition: Transform.cpp:38
virtual bool transform_received()
Definition: Transform.cpp:44
virtual int get_frames_between_iterations() const
Definition: Transform.cpp:25