source: flair-src/branches/sanscv/lib/FlairSimulator/src/SensorGL.cpp@ 469

Last change on this file since 469 was 324, checked in by Sanahuja Guillaume, 5 years ago

removing opencv dependency

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 {
28namespace sensor {
29
30SensorGL::SensorGL(const Model *parent) {
31 collMan = getGui()->getSceneManager()->getSceneCollisionManager();
32 node = parent->Model::pimpl_;
33}
34
35SensorGL::~SensorGL() {}
36
37ISceneCollisionManager *SensorGL::CollMan(void) const { return collMan; }
38
39ISceneNode *SensorGL::Node(void) const { return node; }
40
41} // end namespace simulator
42} // end namespace flair
43#endif
Note: See TracBrowser for help on using the repository browser.