source: flair-src/trunk/lib/FlairSimulator/src/SensorGL.cpp@ 8

Last change on this file since 8 was 8, checked in by Sanahuja Guillaume, 8 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
20using namespace irr::scene;
21using namespace flair::simulator;
22
23namespace flair
24{
25namespace sensor
26{
27
28SensorGL::SensorGL(const Model *parent)
29{
30 collMan =getGui()->getSceneManager()->getSceneCollisionManager();
31 node=parent->Model::pimpl_;
32}
33
34SensorGL::~SensorGL()
35{
36}
37
38ISceneCollisionManager* SensorGL::CollMan(void) const
39{
40 return collMan;
41}
42
43ISceneNode* 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.