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

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

lic

File size: 1.0 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.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
24using namespace irr::scene;
25using namespace flair::simulator;
26
27namespace flair
28{
29namespace sensor
30{
31
32SensorGL::SensorGL(const Model *parent)
33{
34 collMan =getGui()->getSceneManager()->getSceneCollisionManager();
35 node=parent->Model::pimpl_;
36}
37
38SensorGL::~SensorGL()
39{
40}
41
42ISceneCollisionManager* SensorGL::CollMan(void) const
43{
44 return collMan;
45}
46
47ISceneNode* SensorGL::Node(void) const
48{
49 return node;
50}
51
52} // end namespace simulator
53} // end namespace flair
54#endif
Note: See TracBrowser for help on using the repository browser.