Changeset 9554 for OpenSceneGraph/trunk/include/osgViewer/CompositeViewer
- Timestamp:
- 01/27/09 14:23:20 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgViewer/CompositeViewer
r8971 r9554 39 39 /** read the viewer configuration from a configuration file.*/ 40 40 bool readConfiguration(const std::string& filename); 41 42 43 /** Set the Stats object used for collect various frame related timing and scene graph stats.*/ 44 virtual void setViewerStats(osg::Stats* stats) { _stats = stats; } 45 46 /** Get the Viewers Stats object.*/ 47 virtual osg::Stats* getViewerStats() { return _stats.get(); } 48 49 /** Get the Viewers Stats object.*/ 50 virtual const osg::Stats* getViewerStats() const { return _stats.get(); } 51 41 52 42 53 void addView(osgViewer::View* view); … … 115 126 bool _firstFrame; 116 127 128 osg::ref_ptr<osg::Stats> _stats; 129 117 130 osg::Timer_t _startTick; 118 131 osg::ref_ptr<osg::FrameStamp> _frameStamp;
