From e07c1ea10da18b3b26346faea89cedcec24e4749 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 26 Aug 2003 08:02:43 +0000 Subject: [PATCH] Added set/getDatabasePager() method. --- include/osgProducer/OsgCameraGroup | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/osgProducer/OsgCameraGroup b/include/osgProducer/OsgCameraGroup index 6a35abf4d..e911e297a 100644 --- a/include/osgProducer/OsgCameraGroup +++ b/include/osgProducer/OsgCameraGroup @@ -115,6 +115,13 @@ class OSGPRODUCER_EXPORT OsgCameraGroup : public Producer::CameraGroup void setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode,float value=1.0f); + void setDatabasePager( osgDB::DatabasePager* pager) { _databasePager = pager; } + + osgDB::DatabasePager* getDatabasePager() { return _databasePager.get(); } + + const osgDB::DatabasePager* getDatabasePager() const { return _databasePager.get(); } + + /** RealizeCallback class one should override to provide an the implemention of realize callbacks. * Note, this callback overrides the normal call to OsgSceneHandler::init() so it become the your * responisibility to call this within your callback if required, it is a safe assumption to