Show
Ignore:
Timestamp:
01/27/09 14:23:20 (5 years ago)
Author:
robert
Message:

Refactored the view stats.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgViewer/Viewer

    r8893 r9554  
    4141        /** Take all the settings, Camera and Slaves from the passed in view(er), leaving it empty. */ 
    4242        virtual void take(View& rhs); 
     43 
     44 
     45        /** Set the Stats object used for collect various frame related timing and scene graph stats.*/ 
     46        virtual void setViewerStats(osg::Stats* stats) { setStats(stats); } 
     47 
     48        /** Get the Viewers Stats object.*/ 
     49        virtual osg::Stats* getViewerStats() { return getStats(); } 
     50 
     51        /** Get the Viewers Stats object.*/ 
     52        virtual const osg::Stats* getViewerStats() const { return getStats(); } 
     53 
    4354 
    4455        /** read the viewer configuration from a configuration file.*/