source: flair-src/trunk/lib/FlairSimulator/src/SimuUsGL.h@ 445

Last change on this file since 445 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
19namespace flair {
20namespace gui {
21class DoubleSpinBox;
22class Vector3DSpinBox;
23}
24}
25
26namespace flair {
27namespace simulator {
28class Model;
29}
30}
31
32namespace flair {
33namespace sensor {
34/*! \class SimuUsGL
35* \brief Class for a simulation us
36*
37*/
38class SimuUsGL : public SimuUs, public SensorGL {
39public:
40 SimuUsGL(const simulator::Model *parent, std::string name, uint32_t modelId,uint32_t deviceId);
41 ~SimuUsGL();
42
43private:
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.