source: flair-src/trunk/lib/FlairSimulator/src/unexported/GenericObject.h@ 134

Last change on this file since 134 was 134, checked in by Sanahuja Guillaume, 7 years ago

correction bugs parser

File size: 1.3 KB
RevLine 
[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/03/25
6// filename: GenericObject.h
7//
8// author: Cesar Richard
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: classe definissant un modele a simuler
14//
15/*********************************************************************/
16
17#ifndef GENERICOBJECT_H
18#define GENERICOBJECT_H
19#ifdef GL
20
[134]21#include <vector3d.h>
[8]22
[15]23namespace irr {
[134]24 namespace scene {
25 class IMesh;
26 class IMeshSceneNode;
27 class ITriangleSelector;
28 class ISceneNode;
29 }
[8]30}
31
32class Simulator_impl;
33
[15]34namespace flair {
35namespace simulator {
[8]36class Simulator;
37
[134]38class GenericObject {
[15]39 friend class ::Simulator_impl;
[8]40
41public:
[134]42 GenericObject(Simulator *parent,irr::scene::IMesh *mesh);
[15]43 virtual ~GenericObject();
[8]44
[15]45 irr::scene::ITriangleSelector *TriangleSelector(void);
46 void setScale(float value);
[134]47 void setScale(const irr::core::vector3df& scale);
48 void setPosition(const irr::core::vector3df& position);
49 void setRotation(const irr::core::vector3df& rotation);
50
[8]51private:
[15]52 irr::scene::ITriangleSelector *selector;
[134]53 irr::scene::IMeshSceneNode *meshSceneNode;
54};
[8]55} // end namespace simulator
56} // end namespace flair
57#endif // GL
58#endif // GENERICOBJECT_H
Note: See TracBrowser for help on using the repository browser.