source: flair-src/trunk/lib/FlairMeta/src/MetaVrpnObject.h@ 7

Last change on this file since 7 was 7, checked in by Sanahuja Guillaume, 6 years ago

filter and meta

File size: 1.8 KB
Line 
1/*!
2 * \file MetaVrpnObject.h
3 * \brief Classe haut niveau intégrant un objet VRPN
4 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
5 * \date 2013/04/08
6 * \version 3.4
7 */
8
9#ifndef METAVRPNOBJECT_H
10#define METAVRPNOBJECT_H
11
12#include <VrpnObject.h>
13#include "io_data.h"
14
15namespace flair
16{
17 namespace core
18 {
19 class Vector3D;
20 class FloatType;
21 }
22 namespace gui
23 {
24 class DataPlot1D;
25 class DataPlot2D;
26 class Tab;
27 }
28 namespace filter
29 {
30 class EulerDerivative;
31 class LowPassFilter;
32 }
33 namespace sensor
34 {
35 class VrpnClient;
36 }
37}
38
39namespace flair
40{
41namespace meta
42{
43
44 /*! \class MetaVrpnObject
45 *
46 * \brief Classe haut niveau intégrant un objet VRPN
47 *
48 * Contient un objet VRPN et une dérivée, d'euler.
49 */
50 class MetaVrpnObject: public sensor::VrpnObject {
51 public:
52 MetaVrpnObject(const sensor::VrpnClient *parent,std::string name);
53 MetaVrpnObject(const sensor::VrpnClient *parent,std::string name,uint8_t id);
54 ~MetaVrpnObject();
55 gui::DataPlot1D* VxPlot(void) const;//1,0
56 gui::DataPlot1D* VyPlot(void) const;//1,1
57 gui::DataPlot1D* VzPlot(void) const;//1,2
58 gui::DataPlot2D* XyPlot(void) const;
59 void GetSpeed(core::Vector3D &speed) const;
60
61 private:
62 void ConstructorCommon(const sensor::VrpnClient *parent,std::string name);
63 filter::LowPassFilter *pbas;
64 filter::EulerDerivative *euler;
65 gui::DataPlot2D *xy_plot;
66 gui::DataPlot1D *vx_opti_plot,*vy_opti_plot,*vz_opti_plot;
67 gui::Tab* plot_tab;
68 core::FloatType elementDataType;
69
70 };
71} // end namespace meta
72} // end namespace flair
73#endif // METAVRPNOBJECT_H
Note: See TracBrowser for help on using the repository browser.