Robert Osfield wrote: >> got another opinion on the PagedLOD and ProxyNode topic. :-) >> We have been using both nodes for stuff like pseudo loaders as well and >> I would recommend to change the interface a little bit. There should be >> a common interface for all pageable nodes like: >> class PageingNode : public Group {} >> and then: >> class ProxyNode : public PageingNode {} >> class PagedLOD : public PageingNode {} >> and now one can easily add custom implementations on top of PageingNode >> like >> class MyCustomNodeWhichRefreshesTheSubgraphEvery10Seconds : public >> PageableNode {} > I can see value in this, but I'm not sure how easy it would be to come > up with the PagingNode base class - it can't just subclass from > osg::Group.
I've seen the same situation -- the DatabasePager is really strictly tied to ProxyNode and PagedLOD. Multiple inheritance also opens a can of worms. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org