source: flair-src/trunk/lib/FlairSimulator/src/SensorGL.h@ 10

Last change on this file since 10 was 10, checked in by Sanahuja Guillaume, 8 years ago

lic

File size: 1.2 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// 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
20namespace irr
21{
22 namespace scene
23 {
24 class ISceneNode;
25 class ISceneCollisionManager;
26 }
27}
28
29namespace flair
30{
31 namespace simulator
32 {
33 class Model;
34 }
35}
36
37namespace flair
38{
39namespace sensor
40{
41 class SensorGL
42 {
43 public:
44 SensorGL(const simulator::Model *parent);
45 virtual ~SensorGL()=0;
46
47 protected:
48 #ifdef GL
49 irr::scene::ISceneCollisionManager* CollMan(void) const;
50 irr::scene::ISceneNode* Node(void) const;
51 #endif
52 private:
53 #ifdef GL
54 irr::scene::ISceneCollisionManager* collMan;
55 irr::scene::ISceneNode* node;
56 #endif
57 };
58} // end namespace sensor
59} // end namespace flair
60#endif // SENSORGL_H
Note: See TracBrowser for help on using the repository browser.