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

Last change on this file since 131 was 122, checked in by Sanahuja Guillaume, 8 years ago

modifs uav vrpn i686

File size: 1.5 KB
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[7]5/*!
6 * \file MetaVrpnObject.h
7 * \brief Classe haut niveau intégrant un objet VRPN
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2013/04/08
10 * \version 3.4
11 */
12
13#ifndef METAVRPNOBJECT_H
14#define METAVRPNOBJECT_H
15
16#include <VrpnObject.h>
17#include "io_data.h"
18
[15]19namespace flair {
[122]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 }
[7]33}
34
[15]35namespace flair {
36namespace meta {
[7]37
[15]38/*! \class MetaVrpnObject
39*
40* \brief Classe haut niveau intégrant un objet VRPN
41*
42* Contient un objet VRPN et une dérivée, d'euler.
43*/
44class MetaVrpnObject : public sensor::VrpnObject {
45public:
[122]46 MetaVrpnObject(std::string name);
47 MetaVrpnObject(std::string name,uint8_t id);
[15]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;
[7]54
[15]55private:
[122]56 void ConstructorCommon(std::string name);
[15]57 filter::LowPassFilter *pbas;
58 filter::EulerDerivative *euler;
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};
[7]64} // end namespace meta
65} // end namespace flair
[15]66#endif // METAVRPNOBJECT_H
Note: See TracBrowser for help on using the repository browser.