Last change
on this file since 285 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
1.0 KB
|
Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[8] | 5 | // created: 2013/03/25
|
---|
| 6 | // filename: SensorGL.cpp
|
---|
| 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 | #ifdef GL
|
---|
| 17 |
|
---|
| 18 | #include "SensorGL.h"
|
---|
| 19 | #include "Gui.h"
|
---|
| 20 | #include "Model.h"
|
---|
| 21 | #include "Model_impl.h"
|
---|
| 22 | #include <ISceneManager.h>
|
---|
| 23 |
|
---|
| 24 | using namespace irr::scene;
|
---|
| 25 | using namespace flair::simulator;
|
---|
| 26 |
|
---|
[15] | 27 | namespace flair {
|
---|
| 28 | namespace sensor {
|
---|
[8] | 29 |
|
---|
[15] | 30 | SensorGL::SensorGL(const Model *parent) {
|
---|
| 31 | collMan = getGui()->getSceneManager()->getSceneCollisionManager();
|
---|
| 32 | node = parent->Model::pimpl_;
|
---|
[8] | 33 | }
|
---|
| 34 |
|
---|
[15] | 35 | SensorGL::~SensorGL() {}
|
---|
[8] | 36 |
|
---|
[15] | 37 | ISceneCollisionManager *SensorGL::CollMan(void) const { return collMan; }
|
---|
[8] | 38 |
|
---|
[15] | 39 | ISceneNode *SensorGL::Node(void) const { return node; }
|
---|
[8] | 40 |
|
---|
| 41 | } // end namespace simulator
|
---|
| 42 | } // end namespace flair
|
---|
| 43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.