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 
19 namespace flair {
20  namespace core {
21  class Vector3D;
22  class FloatType;
23  }
24  namespace gui {
25  class DataPlot1D;
26  class DataPlot2D;
27  class Tab;
28  }
29  namespace filter {
30  class EulerDerivative;
31  class LowPassFilter;
32  }
33 }
34 
35 namespace flair {
36 namespace meta {
37 
45 public:
46  MetaVrpnObject(std::string name);
47  MetaVrpnObject(std::string name,uint8_t id);
48  ~MetaVrpnObject();
49  gui::DataPlot1D *VxPlot(void) const; // 1,0
50  gui::DataPlot1D *VyPlot(void) const; // 1,1
51  gui::DataPlot1D *VzPlot(void) const; // 1,2
52  gui::DataPlot2D *XyPlot(void) const;
53  void GetSpeed(core::Vector3D &speed) const;
54 
55 private:
56  void ConstructorCommon(std::string name);
59  gui::DataPlot2D *xy_plot;
60  gui::DataPlot1D *vx_opti_plot, *vy_opti_plot, *vz_opti_plot;
61  gui::Tab *plot_tab;
62  core::FloatType elementDataType;
63 };
64 } // end namespace meta
65 } // end namespace flair
66 #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:46
Class defining a 3D vector.
Definition: Vector3D.h:28
Abstract class for data types.
Class defining a first order low pass filter.
Definition: LowPassFilter.h:36
Class for VRPN object.
Definition: io_data.h:70
Classe haut niveau intégrant un objet VRPN.
Definition: MetaVrpnObject.h:44
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