Last change
on this file since 305 was 158, checked in by Sanahuja Guillaume, 8 years ago |
corrected simu/device id for sensors
|
File size:
1005 bytes
|
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 SimuUsGL.h
|
---|
7 | * \brief Class for a simulation us
|
---|
8 | * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
9 | * \date 2014/02/07
|
---|
10 | * \version 3.4
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef SIMUUSGL_H
|
---|
14 | #define SIMUUSGL_H
|
---|
15 |
|
---|
16 | #include <SimuUs.h>
|
---|
17 | #include <SensorGL.h>
|
---|
18 |
|
---|
19 | namespace flair {
|
---|
20 | namespace gui {
|
---|
21 | class DoubleSpinBox;
|
---|
22 | class Vector3DSpinBox;
|
---|
23 | }
|
---|
24 | }
|
---|
25 |
|
---|
26 | namespace flair {
|
---|
27 | namespace simulator {
|
---|
28 | class Model;
|
---|
29 | }
|
---|
30 | }
|
---|
31 |
|
---|
32 | namespace flair {
|
---|
33 | namespace sensor {
|
---|
34 | /*! \class SimuUsGL
|
---|
35 | * \brief Class for a simulation us
|
---|
36 | *
|
---|
37 | */
|
---|
38 | class SimuUsGL : public SimuUs, public SensorGL {
|
---|
39 | public:
|
---|
40 | SimuUsGL(const simulator::Model *parent, std::string name, uint32_t modelId,uint32_t deviceId);
|
---|
41 | ~SimuUsGL();
|
---|
42 |
|
---|
43 | private:
|
---|
44 | void UpdateFrom(const core::io_data *data);
|
---|
45 | gui::DoubleSpinBox *range;
|
---|
46 | gui::Vector3DSpinBox *position, *direction;
|
---|
47 | };
|
---|
48 | } // end namespace sensor
|
---|
49 | } // end namespace flair
|
---|
50 | #endif // SIMUUSGL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.