Last change
on this file since 460 was 158, checked in by Sanahuja Guillaume, 8 years ago |
corrected simu/device id for sensors
|
File size:
1.1 KB
|
Rev | Line | |
---|
[10] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[10] | 4 | // %flair:license}
|
---|
[8] | 5 | // created: 2013/04/15
|
---|
| 6 | // filename: Man.h
|
---|
| 7 | //
|
---|
| 8 | // author: Guillaume Sanahuja
|
---|
| 9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 10 | //
|
---|
| 11 | // version: $Id: $
|
---|
| 12 | //
|
---|
| 13 | // purpose: classe chargeant un personnage
|
---|
| 14 | //
|
---|
| 15 | /*********************************************************************/
|
---|
| 16 |
|
---|
| 17 | #ifndef MAN_H
|
---|
| 18 | #define MAN_H
|
---|
| 19 |
|
---|
| 20 | #include <Model.h>
|
---|
| 21 |
|
---|
[15] | 22 | namespace irr {
|
---|
| 23 | namespace scene {
|
---|
| 24 | class IAnimatedMeshSceneNode;
|
---|
[8] | 25 | }
|
---|
[15] | 26 | }
|
---|
[8] | 27 |
|
---|
[15] | 28 | namespace flair {
|
---|
| 29 | namespace gui {
|
---|
| 30 | class DoubleSpinBox;
|
---|
[8] | 31 | }
|
---|
[15] | 32 | }
|
---|
[8] | 33 |
|
---|
[15] | 34 | namespace flair {
|
---|
| 35 | namespace simulator {
|
---|
[8] | 36 |
|
---|
[15] | 37 | class Man : private Model {
|
---|
| 38 | public:
|
---|
[158] | 39 | Man(std::string name,uint32_t modelId);
|
---|
[15] | 40 | ~Man();
|
---|
[8] | 41 |
|
---|
[15] | 42 | private:
|
---|
| 43 | size_t dbtSize(void) const;
|
---|
| 44 | void WritedbtBuf(char *dbtbuf);
|
---|
| 45 | void ReaddbtBuf(char *dbtbuf);
|
---|
| 46 | void CalcModel(void);
|
---|
| 47 | void AnimateModel(void){};
|
---|
| 48 | bool OnEvent(const irr::SEvent &event);
|
---|
[8] | 49 |
|
---|
[15] | 50 | irr::scene::IAnimatedMeshSceneNode *node;
|
---|
| 51 | gui::DoubleSpinBox *t_speed, *r_speed;
|
---|
| 52 | };
|
---|
[8] | 53 | } // end namespace simulator
|
---|
| 54 | } // end namespace flair
|
---|
| 55 | #endif // MAN_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.