Changeset 70 in flair-src for trunk/lib/FlairSimulator/src/unexported
- Timestamp:
- Sep 6, 2016, 5:49:32 PM (8 years ago)
- Location:
- trunk/lib/FlairSimulator/src/unexported
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/unexported/FollowMeCamera.h
r69 r70 26 26 class FollowMeCamera : public VisualizationCamera { 27 27 public: 28 FollowMeCamera(const irr::scene::ISceneNode *parent, 28 FollowMeCamera(const irr::scene::ISceneNode *parent,std::string name, 29 29 float rotateSpeed = -500.0f, float zoomSpeed = 4.0f); 30 30 ~FollowMeCamera(); … … 41 41 float RotY, RotZ; 42 42 float sat(float value); 43 float rotateSpeed; 44 float zoomSpeed; 43 45 }; 44 46 -
trunk/lib/FlairSimulator/src/unexported/Gui_impl.h
r69 r70 30 30 class IMeshSceneNode; 31 31 class ITriangleSelector; 32 //class ICameraSceneNode;33 32 } 34 33 namespace video { … … 49 48 class GenericObject; 50 49 class Gui; 51 class FixedCamera;50 class VisualizationCamera; 52 51 } 53 52 } … … 61 60 irr::video::E_DRIVER_TYPE driver_type = irr::video::EDT_OPENGL); 62 61 ~Gui_impl(); 63 void RunGui(std::vector<flair::simulator::Model *> model es,62 void RunGui(std::vector<flair::simulator::Model *> models, 64 63 std::vector<flair::simulator::GenericObject *> objects); 65 64 void setMesh(std::string file, … … 74 73 irr::scene::ISceneManager *smgr; 75 74 int scene_width, scene_height; 75 void AddVisualizationCamera(flair::simulator::VisualizationCamera* camera); 76 76 77 77 private: … … 80 80 irr::gui::IGUIFont *font; 81 81 irr::gui::IGUIEnvironment *env; 82 void setWindowCaption( flair::core::Object *object, int fps);82 void setWindowCaption(int cam_id, int fps); 83 83 void takeScreenshot(void); 84 84 hdfile_t *dbtFile_r, *dbtFile_w; 85 85 size_t dbtSize(std::vector<flair::simulator::Model *> modeles); 86 86 char *dbtbuf; 87 flair::simulator::FixedCamera *fixedCamera;88 87 flair::simulator::Gui *self; 89 //irr::scene::ICameraSceneNode * camera; 88 std::vector<flair::simulator::VisualizationCamera *> cameras; 89 flair::simulator::Model *getModelFromVisualizationCamera(std::vector<flair::simulator::Model *> models,flair::simulator::VisualizationCamera *camera); 90 90 }; 91 91
Note:
See TracChangeset
for help on using the changeset viewer.