Hi Miguel, Unfortunately the original author osgManipulator doesn't pop on the mailing list too often so we are left trying to support it by reading the source code and the example. Last year I needn't to add some functionality to osgManipulator and took the opportunity to refactor it a bit to make it more flexible and simpler to use, I'm still doesn't under all the code though so still have to refer to the source code to work out what is going on.
What I would recommend is moving to a 2.9.x dev release or svn/trunk as these contain my updates to it. The updates remove the need for the Selection class completely, you can now just tell a dragger to move a users created and specified transform node. If you want support on older versions of osgManipulator I'm afraid I'll have to pass on this as I really only have a bit knowledge of the latest rev of osgManipulator. Robert. On Thu, May 26, 2011 at 2:14 PM, Miguel Lokida <mlok...@yahoo.fr> wrote: > Hi, > > I look at the osgManipulator example and since I have not found any > information about Dragger and Selection I have a question about this > technique. > > So, in the osgManipulator example, we can move, rotate... some geometries. > But, What I would like to know is what is affected by theses manipulations. > > I mean, in the example (addDraggerToScene method), each geode has a selection > as parent. Then selection is added to a root group. To this root group, we > add a Dragger. Then we connect the Dragger and the selection (to receive > commands from Dragger and send them to the selection). > > The this root group is added as a Child to a Matrix Transform node. > > What I would like to know is which node (position, rotation...) is changed ? > The transformNode (Matrix Transform) or the selection Node (which is a > MatrixTransform) ? > > Thank you. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=39764#39764 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org