Last change
on this file since 299 was 286, checked in by Sanahuja Guillaume, 6 years ago |
draw vrpn axis in simulator
|
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 |
|
---|
21 | using namespace flair::sensor;
|
---|
22 |
|
---|
23 | namespace flair {
|
---|
24 | namespace simulator {
|
---|
25 |
|
---|
26 | UavVrpnObject::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 |
|
---|
34 | UavVrpnObject::~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.