Hi John, I can't recall the reasoning off the top of my head - it's getting on three years ago that I was implementing it, in general I have tried to put functionality into osgViewer::View where possible, but not all functionality can easily be pushed below osgViewer::ViewerBase/Viewer/CompositeViewer.
Robert. On Wed, May 5, 2010 at 5:10 PM, PCJohn <[email protected]> wrote: > Hi, > > why are methods: > computeIntersections and > getCameraContainingPosition > implemented in osgViewer::View class? > I wish it would be in osg::View. Any chance? If yes, I may contribute one > more feature for osgGA camera manipulators. > > I am in the process of osgGA camera manipulators improvements: I want to > point mouse pointer by mouse click turn camera to it. > The work is done and I may contribute parts of the work back to OSG. > However, I reached linking problems since osgViewer uses osgGA and osgGA can > not use osgViewer (circular reference). > > My idea would be whether intersections can be done without osgViewer::View, > inside osg::View, knowing just master camera and slave cameras. Before I > start to dig into it, I want to ask: is there a way to implement it in > osg::View or should I give up? > > I my opinion, osg::View intersections may have meaning for headless > applications as well - no window, just geometry processing. > > Thanks, > John > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

