Flair
Framework Libre Air
MetaVrpnObject.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}
13 #ifndef METAVRPNOBJECT_H
14 #define METAVRPNOBJECT_H
15 
16 #include <VrpnObject.h>
17 #include <io_data.h>
18 #include <Vector3D.h>
19 
20 namespace flair {
21  namespace gui {
22  class DataPlot1D;
23  class DataPlot2D;
24  class Tab;
25  }
26  namespace filter {
27  class EulerDerivative;
28  class LowPassFilter;
29  }
30 }
31 
32 namespace flair {
33 namespace meta {
34 
42 public:
43  MetaVrpnObject(std::string name);
44  MetaVrpnObject(std::string name,uint8_t id);
45  ~MetaVrpnObject();
46  gui::DataPlot1D *VxPlot(void) const; // 1,0
47  gui::DataPlot1D *VyPlot(void) const; // 1,1
48  gui::DataPlot1D *VzPlot(void) const; // 1,2
49  gui::DataPlot2D *XyPlot(void) const;
50  void GetSpeed(core::Vector3Df &speed) const;
51 
52 private:
53  void ConstructorCommon(std::string name);
56  gui::DataPlot2D *xy_plot;
57  gui::DataPlot1D *vx_opti_plot, *vy_opti_plot, *vz_opti_plot;
58  gui::Tab *plot_tab;
59 };
60 } // end namespace meta
61 } // end namespace flair
62 #endif // METAVRPNOBJECT_H
namespace of the flair Framework
Definition: Ahrs.h:19
Class for VRPN object. The IODevice is created with the VrpnClient as parent. VrpnClient must be crea...
Definition: VrpnObject.h:45
Abstract class for data types.
Class defining a 3D vector.
Class defining a first order low pass filter.
Definition: LowPassFilter.h:36
Class for VRPN object.
Classe haut niveau intégrant un objet VRPN.
Definition: MetaVrpnObject.h:41
Class defining an euler derivative.
Definition: EulerDerivative.h:36
Class displaying a 2D plot on the ground station.
Definition: DataPlot2D.h:34
Class displaying a 1D plot on the ground station.
Definition: DataPlot1D.h:33
Class displaying a QTab on the ground station.
Definition: Tab.h:29