Ignore:
Timestamp:
01/08/19 14:45:15 (4 years ago)
Author:
Sanahuja Guillaume
Message:

added earth frame axis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/VisualizationCamera.h

    r287 r288  
    3030    class ITexture;
    3131  }
     32  namespace gui {
     33    class IGUIFont;
     34  }
    3235}
    3336
    3437namespace flair {
    3538namespace simulator {
     39class AxisSceneNode;
    3640
    3741class VisualizationCamera : private irr::scene::ISceneNodeAnimator {
     
    4549  irr::scene::ICameraSceneNode *getCameraSceneNode(void);
    4650  std::string getName(void);
    47   void renderAxisToTexture(irr::video::ITexture* texture);
     51  enum class AxisType { vrpn,earth,none};
     52  void renderAxisToTexture(irr::video::ITexture* texture,irr::gui::IGUIFont *font,AxisType axisType);
    4853
    4954private:
    5055  virtual bool isEventReceiverEnabled(void) const { return true; }
    51   irr::scene::ISceneNode *nodeX,*nodeY,*nodeZ;
    5256  irr::scene::ISceneManager *axis_scenemanager;
     57  AxisSceneNode *vrpnSceneNode;
     58  AxisSceneNode *earthSceneNode;
    5359
    5460protected:
Note: See TracChangeset for help on using the changeset viewer.