Changeset 69 in flair-src for trunk/lib/FlairSimulator/src/Model.h
- Timestamp:
- Sep 2, 2016, 5:48:40 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/Model.h
r15 r69 25 25 #ifdef GL 26 26 #include <aabbox3d.h> 27 #include <IEventReceiver.h> 27 28 namespace irr { 28 29 class SEvent; … … 51 52 namespace simulator { 52 53 class Simulator; 53 class AnimPoursuite;54 class FollowMeCamera; 54 55 55 class Model : public core::IODevice { 56 class Model : public core::IODevice 57 #ifdef GL 58 , public irr::IEventReceiver 59 #endif 60 { 56 61 friend class ::Gui_impl; 57 62 friend class ::Simulator_impl; 58 63 friend class ::Model_impl; 59 friend class AnimPoursuite;60 64 friend class sensor::SensorGL; 61 65 … … 80 84 virtual void WritedbtBuf(char *dbtbuf) = 0; 81 85 virtual void ReaddbtBuf(char *dbtbuf) = 0; 82 virtual bool OnEvent(const irr::SEvent &event) = 0; 86 87 //default event handling 88 bool OnEvent(const irr::SEvent &event) { return false;}; 83 89 84 90 //! Sets the value of the camera's far clipping plane (default: 2000.0f) … … 93 99 virtual void CalcModel(void) = 0; 94 100 #ifdef GL 95 AnimPoursuite *getCamera(void) const;101 FollowMeCamera *getFollowMeCamera(void) const; 96 102 virtual void AnimateModel(void) = 0; 97 103 // void setPosition(core::Vector3D pos);
Note:
See TracChangeset
for help on using the changeset viewer.