Last change
on this file since 20 was 13, checked in by Bayard Gildas, 9 years ago |
formatting script + include reformatted
|
File size:
1.0 KB
|
Rev | Line | |
---|
[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}
|
---|
[8] | 5 | // created: 2013/03/25
|
---|
| 6 | // filename: SensorGL.h
|
---|
| 7 | //
|
---|
| 8 | // author: Guillaume Sanahuja
|
---|
| 9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 10 | //
|
---|
| 11 | // version: $Id: $
|
---|
| 12 | //
|
---|
| 13 | // purpose: classe definissant un modele de capteur
|
---|
| 14 | //
|
---|
| 15 | /*********************************************************************/
|
---|
| 16 |
|
---|
| 17 | #ifndef SENSORGL_H
|
---|
| 18 | #define SENSORGL_H
|
---|
| 19 |
|
---|
[13] | 20 | namespace irr {
|
---|
| 21 | namespace scene {
|
---|
| 22 | class ISceneNode;
|
---|
| 23 | class ISceneCollisionManager;
|
---|
[8] | 24 | }
|
---|
[13] | 25 | }
|
---|
[8] | 26 |
|
---|
[13] | 27 | namespace flair {
|
---|
| 28 | namespace simulator {
|
---|
| 29 | class Model;
|
---|
[8] | 30 | }
|
---|
[13] | 31 | }
|
---|
[8] | 32 |
|
---|
[13] | 33 | namespace flair {
|
---|
| 34 | namespace sensor {
|
---|
| 35 | class SensorGL {
|
---|
| 36 | public:
|
---|
| 37 | SensorGL(const simulator::Model *parent);
|
---|
| 38 | virtual ~SensorGL() = 0;
|
---|
[8] | 39 |
|
---|
[13] | 40 | protected:
|
---|
| 41 | #ifdef GL
|
---|
| 42 | irr::scene::ISceneCollisionManager *CollMan(void) const;
|
---|
| 43 | irr::scene::ISceneNode *Node(void) const;
|
---|
| 44 | #endif
|
---|
| 45 | private:
|
---|
| 46 | #ifdef GL
|
---|
| 47 | irr::scene::ISceneCollisionManager *collMan;
|
---|
| 48 | irr::scene::ISceneNode *node;
|
---|
| 49 | #endif
|
---|
| 50 | };
|
---|
[8] | 51 | } // end namespace sensor
|
---|
| 52 | } // end namespace flair
|
---|
| 53 | #endif // SENSORGL_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.