RobotsIO
Loading...
Searching...
No Matches
src
RobotsIO
include
RobotsIO
Utils
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
17
namespace
RobotsIO
{
18
namespace
Utils {
19
class
Transform;
20
}
21
}
22
23
24
class
RobotsIO::Utils::Transform
:
public
RobotsIO::Utils::DataStream
25
{
26
public
:
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 */
RobotsIO::Utils::DataStream
Definition:
DataStream.h:20
RobotsIO::Utils::Transform
Definition:
Transform.h:25
RobotsIO::Utils::Transform::bounding_box
virtual Eigen::MatrixXd bounding_box()
Definition:
Transform.cpp:17
RobotsIO::Utils::Transform::set_rgb_image
virtual void set_rgb_image(const cv::Mat &image)
Definition:
Transform.cpp:32
RobotsIO::Utils::Transform::set_depth_segmentation_image
virtual void set_depth_segmentation_image(const Eigen::MatrixXf &depth, const cv::Mat &segmentation)
Definition:
Transform.cpp:38
RobotsIO::Utils::Transform::transform_received
virtual bool transform_received()
Definition:
Transform.cpp:44
RobotsIO::Utils::Transform::get_frames_between_iterations
virtual int get_frames_between_iterations() const
Definition:
Transform.cpp:25
RobotsIO
Definition:
Camera.h:24
Generated by
1.9.6