source: flair-dev/trunk/include/FlairMeta/MetaVrpnObject.h @ 82

Last change on this file since 82 was 50, checked in by Sanahuja Guillaume, 5 years ago

doc

File size: 1.5 KB
RevLine 
[9]1// %flair:license{
[13]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[9]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>
[50]17#include <io_data.h>
18#include <Vector3D.h>
[7]19
[13]20namespace flair {
[44]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
[13]32namespace flair {
33namespace meta {
[7]34
[13]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:
[44]43  MetaVrpnObject(std::string name);
44  MetaVrpnObject(std::string name,uint8_t id);
[13]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]50  void GetSpeed(core::Vector3Df &speed) const;
[7]51
[13]52private:
[44]53  void ConstructorCommon(std::string name);
[13]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
[13]62#endif // METAVRPNOBJECT_H
Note: See TracBrowser for help on using the repository browser.