Changeset 94 in flair-dev for trunk/include/FlairSimulator
- Timestamp:
- Jan 8, 2019, 10:14:12 AM (6 years ago)
- Location:
- trunk/include/FlairSimulator
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairSimulator/Blade.h
r13 r94 36 36 const irr::core::vector3df &position = irr::core::vector3df(0, 0, 0), 37 37 bool inverted = false, irr::s32 id = -1); 38 39 Blade(irr::scene::ISceneNode *parent, 40 const irr::core::vector3df &position = irr::core::vector3df(0, 0, 0), 41 bool inverted = false, irr::s32 id = -1); 42 38 43 virtual void OnRegisterSceneNode(void); 39 44 virtual void render(void); -
trunk/include/FlairSimulator/MeshSceneNode.h
r13 r94 31 31 const irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0), 32 32 irr::video::ITexture *texture = NULL, irr::s32 id = -1); 33 34 MeshSceneNode( 35 irr::scene::ISceneNode *parent, irr::scene::IMesh *mesh, 36 const irr::core::vector3df &position = irr::core::vector3df(0, 0, 0), 37 const irr::core::vector3df &rotation = irr::core::vector3df(0, 0, 0), 38 irr::video::ITexture *texture = NULL, irr::s32 id = -1); 33 39 34 40 virtual void OnRegisterSceneNode(void); -
trunk/include/FlairSimulator/Simulator.h
r50 r94 44 44 // yaw_deg: rotation of the vrpn coordinate with respect to the earth 45 45 // coordinate, around z axis 46 Simulator(std::string name, int optitrack_mstime = 10, float yaw_deg = 30 );46 Simulator(std::string name, int optitrack_mstime = 10, float yaw_deg = 30, int port=3883); 47 47 ~Simulator(); 48 48 void RunSimu(void); -
trunk/include/FlairSimulator/VisualizationCamera.h
r34 r94 27 27 class ICameraSceneNode; 28 28 } 29 namespace video { 30 class ITexture; 31 } 29 32 } 30 33 … … 42 45 irr::scene::ICameraSceneNode *getCameraSceneNode(void); 43 46 std::string getName(void); 47 void renderAxisToTexture(irr::video::ITexture* texture); 44 48 45 49 private: 46 50 virtual bool isEventReceiverEnabled(void) const { return true; } 47 51 irr::scene::ISceneNode *nodeX,*nodeY,*nodeZ; 52 irr::scene::ISceneManager *axis_scenemanager; 53 48 54 protected: 49 55 bool LMouseKey; 50 56 irr::scene::ICameraSceneNode *camera; 57 irr::scene::ICameraSceneNode *axis_camera; 51 58 irr::core::position2df MousePos; 52 59 float currentZoom; -
trunk/include/FlairSimulator/X4.h
r68 r94 43 43 #ifdef GL 44 44 virtual void Draw(void); 45 virtual void ExtraDraw(void){}; 45 virtual void ExtraDraw(void){}; 46 #endif 46 47 47 protected:48 Blade *fl_blade, *fr_blade, *rl_blade, *rr_blade;49 core::Mutex *motor_speed_mutex;50 #endif51 48 private: 52 49 void CalcModel(void); … … 56 53 void WritedbtBuf(char *dbtbuf); 57 54 void ReaddbtBuf(char *dbtbuf); 55 Blade *fl_blade, *fr_blade, *rl_blade, *rr_blade; 56 core::Mutex *motor_speed_mutex; 58 57 #endif 59 58 -
trunk/include/FlairSimulator/X8.h
r68 r94 45 45 46 46 protected: 47 #ifdef GL 48 Blade *tfl_blade, *tfr_blade, *trl_blade, *trr_blade; 49 Blade *bfl_blade, *bfr_blade, *brl_blade, *brr_blade; 50 #endif 47 51 48 private: 52 49 void CalcModel(void); … … 57 54 void ReaddbtBuf(char *dbtbuf); 58 55 core::Mutex *motor_speed_mutex; 56 Blade *tfl_blade, *tfr_blade, *trl_blade, *trr_blade; 57 Blade *bfl_blade, *bfr_blade, *brl_blade, *brr_blade; 59 58 #endif 60 59
Note:
See TracChangeset
for help on using the changeset viewer.