Changeset 9554 for OpenSceneGraph/trunk/include/osg/View
- Timestamp:
- 01/27/09 14:23:20 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osg/View (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osg/View
r8624 r9554 17 17 #include <osg/Camera> 18 18 #include <osg/Light> 19 #include <osg/Stats> 19 20 20 21 #include <OpenThreads/Mutex> … … 38 39 /** Take all the settings, Camera and Slaves from the passed in view, leaving it empty. */ 39 40 virtual void take(View& rhs); 41 42 43 /** Set the Stats object used for collect various frame related timing and scene graph stats.*/ 44 void setStats(osg::Stats* stats) { _stats = stats; } 45 46 /** Get the Viewers Stats object.*/ 47 osg::Stats* getStats() { return _stats.get(); } 48 49 /** Get the Viewers Stats object.*/ 50 const osg::Stats* getStats() const { return _stats.get(); } 51 40 52 41 53 /** Options for controlling the global lighting used for the view.*/ … … 140 152 virtual osg::GraphicsOperation* createRenderer(osg::Camera*) { return 0; } 141 153 154 osg::ref_ptr<osg::Stats> _stats; 155 142 156 LightingMode _lightingMode; 143 157 osg::ref_ptr<osg::Light> _light;
