source: flair-src/trunk/lib/FlairCore/src/Picture.h

Last change on this file was 338, checked in by Sanahuja Guillaume, 2 years ago

remove opencv dep

File size: 1.4 KB
RevLine 
[2]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[2]4// %flair:license}
5/*!
6 * \file Picture.h
7 * \brief Class displaying a Picture on the ground station
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2012/01/30
10 * \version 4.0
11 */
12
13#ifndef PICTURE_H
14#define PICTURE_H
15
16#include <SendData.h>
17
[15]18namespace flair {
19namespace core {
[338]20class Image;
[2]21}
22
[15]23namespace gui {
[2]24
[15]25class LayoutPosition;
[2]26
[15]27/*! \class Picture
28*
29* \brief Class displaying a Picture on the ground station
30*
31*/
32class Picture : public SendData {
33public:
34 /*!
35 * \brief Constructor
36 *
37 * Construct a picture at given position. \n
38 * The Picture will automatically be child of position->getLayout() Layout.
39 *After calling this constructor,
40 * position will be deleted as it is no longer usefull.
41 *
42 * \param position position to draw plot
43 * \param name name
44 * \param image image to draw
45 */
46 Picture(const LayoutPosition *position, std::string name,
[338]47 const core::Image *image);
[2]48
[15]49 /*!
50 * \brief Destructor
51 *
52 */
53 ~Picture();
[2]54
[15]55private:
56 /*!
57 * \brief Copy datas to specified buffer
58 *
59 * Reimplemented from SendData.
60 *
61 * \param buf output buffer
62 */
63 void CopyDatas(char *buf) const;
[2]64
[15]65 /*!
66 * \brief Extra Xml event
67 *
68 * Reimplemented from SendData.
69 */
70 void ExtraXmlEvent(void){};
[2]71
[338]72 const core::Image *image;
[15]73};
[2]74
75} // end namespace gui
76} // end namespace flair
77
78#endif // PICTURE_H
Note: See TracBrowser for help on using the repository browser.