Reordered methods to make associated functions clearer.

This commit is contained in:
Robert Osfield 2006-11-21 16:15:42 +00:00
parent e16f33e9c5
commit b400a2738b

View File

@ -37,6 +37,11 @@ class OSGVIEWER_EXPORT SimpleViewer : public virtual osgViewer::GraphicsWindow
osg::Node* getSceneData();
const osg::Node* getSceneData() const;
void setDatabasePager(osgDB::DatabasePager* dp);
osgDB::DatabasePager* getDatabasePager() { return _databasePager.get(); }
const osgDB::DatabasePager* getDatabasePager() const { return _databasePager.get(); }
osg::CameraNode* getCamera();
const osg::CameraNode* getCamera() const;
@ -51,9 +56,6 @@ class OSGVIEWER_EXPORT SimpleViewer : public virtual osgViewer::GraphicsWindow
EventHandlers& getEventHandlers() { return _eventHandlers; }
const EventHandlers& getEventHandlers() const { return _eventHandlers; }
void setDatabasePager(osgDB::DatabasePager* dp);
osgDB::DatabasePager* getDatabasePager() { return _databasePager.get(); }
const osgDB::DatabasePager* getDatabasePager() const { return _databasePager.get(); }
/** Render a complete new frame.