Added g/setUpdateVistor method

This commit is contained in:
Robert Osfield 2007-02-19 20:57:08 +00:00
parent fa9456f0b9
commit 57c2939174

View File

@ -45,10 +45,17 @@ class OSGVIEWER_EXPORT Scene : public virtual osg::Referenced
osgDB::DatabasePager* getDatabasePager() { return _databasePager.get(); } osgDB::DatabasePager* getDatabasePager() { return _databasePager.get(); }
const osgDB::DatabasePager* getDatabasePager() const { return _databasePager.get(); } const osgDB::DatabasePager* getDatabasePager() const { return _databasePager.get(); }
void setUpdateVisitor(osgUtil::UpdateVisitor* uv) { _updateVisitor = uv; }
osgUtil::UpdateVisitor* getUpdateVisitor() { return _updateVisitor.get(); }
const osgUtil::UpdateVisitor* getUpdateVisitor() const { return _updateVisitor.get(); }
virtual void frameAdvance(); virtual void frameAdvance();
virtual void frameUpdateTraversal(); virtual void frameUpdateTraversal();
public: public:
void init(); void init();