Ignore:
Timestamp:
09/06/16 17:49:32 (6 years ago)
Author:
Sanahuja Guillaume
Message:

simu cameras

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/unexported/Gui_impl.h

    r69 r70  
    3030class IMeshSceneNode;
    3131class ITriangleSelector;
    32 //class ICameraSceneNode;
    3332}
    3433namespace video {
     
    4948class GenericObject;
    5049class Gui;
    51 class FixedCamera;
     50class VisualizationCamera;
    5251}
    5352}
     
    6160           irr::video::E_DRIVER_TYPE driver_type = irr::video::EDT_OPENGL);
    6261  ~Gui_impl();
    63   void RunGui(std::vector<flair::simulator::Model *> modeles,
     62  void RunGui(std::vector<flair::simulator::Model *> models,
    6463              std::vector<flair::simulator::GenericObject *> objects);
    6564  void setMesh(std::string file,
     
    7473  irr::scene::ISceneManager *smgr;
    7574  int scene_width, scene_height;
     75  void AddVisualizationCamera(flair::simulator::VisualizationCamera* camera);
    7676
    7777private:
     
    8080  irr::gui::IGUIFont *font;
    8181  irr::gui::IGUIEnvironment *env;
    82   void setWindowCaption(flair::core::Object *object, int fps);
     82  void setWindowCaption(int cam_id, int fps);
    8383  void takeScreenshot(void);
    8484  hdfile_t *dbtFile_r, *dbtFile_w;
    8585  size_t dbtSize(std::vector<flair::simulator::Model *> modeles);
    8686  char *dbtbuf;
    87   flair::simulator::FixedCamera *fixedCamera;
    8887  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);
    9090};
    9191
Note: See TracChangeset for help on using the changeset viewer.