Last change
on this file since 8 was 8, checked in by Sanahuja Guillaume, 7 years ago |
simulator
|
File size:
908 bytes
|
Line | |
---|
1 | // created: 2013/03/25
|
---|
2 | // filename: SensorGL.cpp
|
---|
3 | //
|
---|
4 | // author: Guillaume Sanahuja
|
---|
5 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
6 | //
|
---|
7 | // version: $Id: $
|
---|
8 | //
|
---|
9 | // purpose: classe definissant un modele de capteur
|
---|
10 | //
|
---|
11 | /*********************************************************************/
|
---|
12 | #ifdef GL
|
---|
13 |
|
---|
14 | #include "SensorGL.h"
|
---|
15 | #include "Gui.h"
|
---|
16 | #include "Model.h"
|
---|
17 | #include "Model_impl.h"
|
---|
18 | #include <ISceneManager.h>
|
---|
19 |
|
---|
20 | using namespace irr::scene;
|
---|
21 | using namespace flair::simulator;
|
---|
22 |
|
---|
23 | namespace flair
|
---|
24 | {
|
---|
25 | namespace sensor
|
---|
26 | {
|
---|
27 |
|
---|
28 | SensorGL::SensorGL(const Model *parent)
|
---|
29 | {
|
---|
30 | collMan =getGui()->getSceneManager()->getSceneCollisionManager();
|
---|
31 | node=parent->Model::pimpl_;
|
---|
32 | }
|
---|
33 |
|
---|
34 | SensorGL::~SensorGL()
|
---|
35 | {
|
---|
36 | }
|
---|
37 |
|
---|
38 | ISceneCollisionManager* SensorGL::CollMan(void) const
|
---|
39 | {
|
---|
40 | return collMan;
|
---|
41 | }
|
---|
42 |
|
---|
43 | ISceneNode* SensorGL::Node(void) const
|
---|
44 | {
|
---|
45 | return node;
|
---|
46 | }
|
---|
47 |
|
---|
48 | } // end namespace simulator
|
---|
49 | } // end namespace flair
|
---|
50 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.