Last change
on this file since 277 was 167, checked in by Sanahuja Guillaume, 8 years ago |
modifs pour template vectors
|
File size:
1.5 KB
|
Line | |
---|
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}
|
---|
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 | #include <Vector3D.h>
|
---|
19 |
|
---|
20 | namespace flair {
|
---|
21 | namespace gui {
|
---|
22 | class DataPlot1D;
|
---|
23 | class DataPlot2D;
|
---|
24 | class Tab;
|
---|
25 | }
|
---|
26 | namespace filter {
|
---|
27 | class EulerDerivative;
|
---|
28 | class LowPassFilter;
|
---|
29 | }
|
---|
30 | }
|
---|
31 |
|
---|
32 | namespace flair {
|
---|
33 | namespace meta {
|
---|
34 |
|
---|
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 | */
|
---|
41 | class MetaVrpnObject : public sensor::VrpnObject {
|
---|
42 | public:
|
---|
43 | MetaVrpnObject(std::string name);
|
---|
44 | MetaVrpnObject(std::string name,uint8_t id);
|
---|
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 | void GetSpeed(core::Vector3Df &speed) const;
|
---|
51 |
|
---|
52 | private:
|
---|
53 | void ConstructorCommon(std::string name);
|
---|
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 | };
|
---|
60 | } // end namespace meta
|
---|
61 | } // end namespace flair
|
---|
62 | #endif // METAVRPNOBJECT_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.