Added removeNodes method to prune any nodes that are going to be deleted from the PagedLODLists.

This commit is contained in:
Robert Osfield
2010-06-07 09:05:58 +00:00
parent cf08031080
commit bcebc9a23f
2 changed files with 30 additions and 12 deletions

View File

@@ -346,8 +346,8 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
virtual void moveInactivePagedLODTo(PagedLODList& inactivePagedLODList, const osg::FrameStamp& framestamp) = 0;
virtual void moveActivePagedLODTo(PagedLODList& activePagedLODList, const osg::FrameStamp& framestamp) = 0;
virtual void removeExpiredChildren(int& numberChildrenToRemove, double expiryTime, int expiryFrame, osg::NodeList& childrenRemoved) = 0;
virtual void insertPagedLOD(osg::PagedLOD* plod) = 0;
virtual bool containsPagedLOD(osg::PagedLOD* plod) = 0;
virtual void removeNodes(osg::NodeList& nodesToRemove) = 0;
virtual void insertPagedLOD(const osg::observer_ptr<osg::PagedLOD>& plod) = 0;
};
protected: