Changeset 288 in flair-src for trunk/lib/FlairSimulator/src/VisualizationCamera.h
- Timestamp:
- Jan 8, 2019, 2:45:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/VisualizationCamera.h
r287 r288 30 30 class ITexture; 31 31 } 32 namespace gui { 33 class IGUIFont; 34 } 32 35 } 33 36 34 37 namespace flair { 35 38 namespace simulator { 39 class AxisSceneNode; 36 40 37 41 class VisualizationCamera : private irr::scene::ISceneNodeAnimator { … … 45 49 irr::scene::ICameraSceneNode *getCameraSceneNode(void); 46 50 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); 48 53 49 54 private: 50 55 virtual bool isEventReceiverEnabled(void) const { return true; } 51 irr::scene::ISceneNode *nodeX,*nodeY,*nodeZ;52 56 irr::scene::ISceneManager *axis_scenemanager; 57 AxisSceneNode *vrpnSceneNode; 58 AxisSceneNode *earthSceneNode; 53 59 54 60 protected:
Note:
See TracChangeset
for help on using the changeset viewer.