Flair
Framework Libre Air
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties
RangeFinderPlot.h
Go to the documentation of this file.
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}
14 #ifndef RANGEFINDERPLOT_H
15 #define RANGEFINDERPLOT_H
16 
17 #include <SendData.h>
18 #include <stdint.h>
19 
20 namespace flair {
21 namespace core {
22 class cvmatrix;
23 }
24 }
25 
26 namespace flair {
27 namespace gui {
28 
29 class LayoutPosition;
30 
37 class RangeFinderPlot : public SendData {
38 public:
60  RangeFinderPlot(const LayoutPosition *position, std::string name,
61  std::string x_name, float xmin, float xmax,
62  std::string y_name, float ymin, float ymax,
63  const core::cvmatrix *datas, float start_angle,
64  float end_angle, uint32_t nb_samples);
65 
71 
72 private:
80  void CopyDatas(char *buf) const;
81 
87  void ExtraXmlEvent(void){};
88 
89  const core::cvmatrix *datas;
90 };
91 
92 } // end namespace gui
93 } // end namespace flair
94 
95 #endif // RANGEFINDERPLOT_H
~RangeFinderPlot()
Destructor.
RangeFinderPlot(const LayoutPosition *position, std::string name, std::string x_name, float xmin, float xmax, std::string y_name, float ymin, float ymax, const core::cvmatrix *datas, float start_angle, float end_angle, uint32_t nb_samples)
Constructor.
Class defining a matrix of kind CvMat.
Definition: cvmatrix.h:33
Class displaying a 2D plot on the ground station for laser range finder like Hokuyo.
Definition: RangeFinderPlot.h:37
Class to define a position in a layout on the ground station.
Definition: LayoutPosition.h:28
Abstract class for sending datas to ground station.
Abstract class for sending datas to ground station.
Definition: SendData.h:29