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

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

modifs pour template vectors

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>
[167]17#include <io_data.h>
18#include <Vector3D.h>
[7]19
[15]20namespace flair {
[122]21 namespace gui {
22 class DataPlot1D;
23 class DataPlot2D;
24 class Tab;
25 }
26 namespace filter {
27 class EulerDerivative;
28 class LowPassFilter;
29 }
[7]30}
31
[15]32namespace flair {
33namespace meta {
[7]34
[15]35/*! \class MetaVrpnObject
36*
37* \brief Classe haut niveau intégrant un objet VRPN
38*
39* Contient un objet VRPN et une dérivée, d'euler.
40*/
41class MetaVrpnObject : public sensor::VrpnObject {
42public:
[122]43 MetaVrpnObject(std::string name);
44 MetaVrpnObject(std::string name,uint8_t id);
[15]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;
[167]50 void GetSpeed(core::Vector3Df &speed) const;
[7]51
[15]52private:
[122]53 void ConstructorCommon(std::string name);
[15]54 filter::LowPassFilter *pbas;
55 filter::EulerDerivative *euler;
56 gui::DataPlot2D *xy_plot;
57 gui::DataPlot1D *vx_opti_plot, *vy_opti_plot, *vz_opti_plot;
58 gui::Tab *plot_tab;
59};
[7]60} // end namespace meta
61} // end namespace flair
[15]62#endif // METAVRPNOBJECT_H
Note: See TracBrowser for help on using the repository browser.