source: flair-src/branches/sanscv/lib/FlairSimulator/src/UavVrpnObject.cpp@ 326

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

removing opencv dependency

File size: 983 bytes
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: 2018/12/11
6// filename: UavVrpnObject.cpp
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: uav vrpn object, can display a real vrpn object in a simulated environment
14//
15/*********************************************************************/
16#ifdef GL
17
18#include "UavVrpnObject.h"
19#include "UavVrpnObject_impl.h"
20
21using namespace flair::sensor;
22
23namespace flair {
24namespace simulator {
25
26UavVrpnObject::UavVrpnObject(std::string name,VrpnClient *client)
27 : VrpnObject(name,client->GetTabWidget(),client){
28
29
30 pimpl_ = new UavVrpnObject_impl(this, name);
31 pimpl_->setPosition(irr::core::vector3df(4,4,100));
32}
33
34UavVrpnObject::~UavVrpnObject() {
35 delete pimpl_;
36}
37
38} // end namespace simulator
39} // end namespace flair
40
41#endif // GL
Note: See TracBrowser for help on using the repository browser.