source: flair-src/trunk/lib/FlairVisionFilter/src/OpticalFlowCompensated.h@ 352

Last change on this file since 352 was 338, checked in by Sanahuja Guillaume, 5 years ago

remove opencv dep

File size: 1.4 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5/*!
6 * \file OpticalFlowCompensated.h
7 * \brief Compensate optical flow data for rotations
8 * \author Gildas Bayard, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2017/02/17
10 * \version 1.0
11 */
12
13#ifndef OPTICALFLOWCOMPENSATED_H_
14#define OPTICALFLOWCOMPENSATED_H
15
16#include <IODevice.h>
17#include <Object.h>
18
19namespace flair {
20 namespace gui {
21 class LayoutPosition;
22 }
23 namespace filter {
24 class Ahrs;
25 class OpticalFlow;
26 }
27}
28
29class OpticalFlowCompensated_impl;
30
31namespace flair { namespace filter {
32
33/*! \class OpticalFlowCompensated
34*
35* \brief Compensate optical flow data for rotations
36*
37*/
38class OpticalFlowCompensated : public core::IODevice {
39public:
40 /*!
41 * \brief Constructor
42 *
43 * Construct an optical flow compensated filter
44 *
45 * \param parent parent
46 * \param name name
47 * \param ahrs ahrs object used to get rotational speed
48 */
49 OpticalFlowCompensated(const filter::OpticalFlow *parent, const filter::Ahrs *ahrs, const gui::LayoutPosition* position, std::string name);
50
51 /*!
52 * \brief Destructor
53 *
54 */
55 ~OpticalFlowCompensated();
56
57private:
58 void UpdateFrom(const core::io_data *data);
59 OpticalFlowCompensated_impl *pimpl_;
60
61};
62
63}} // end namespace flair::filter
64#endif // OPTICALFLOWCOMPENSATED_H
Note: See TracBrowser for help on using the repository browser.