Re: [osg-users] Path from ShapeDrawable to Parents above...

2007-12-25 Thread Renan Mendes
Hi, Paul. I've managed to do it on my own. Thanks anyway. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Path from ShapeDrawable to Parents above...

2007-12-25 Thread Renan Mendes
Hi, Paul. What I really want to do is to be able to deal with the instance of the class created by me, which has a drawable part that is selectes on the screen. All the methods return the parents in the form of osg::Node, but what I want is to be able to deal with that instance of the class

Re: [osg-users] Path from ShapeDrawable to Parents above...

2007-12-24 Thread Paul Martz
I have selected a sphere on the screen that is the drawable (in the form of a shapedrawable) of an instace of the class Sphere (not the osg's). How do I access the data that is inherent to every intance of that class? A ShapeDrawable is not a Node, so I can't get a Parent... How do I d

[osg-users] Path from ShapeDrawable to Parents above...

2007-12-24 Thread Renan Mendes
Hello, everyone. In my application, I use ShapeDrawables, which are selected by the user by mouse picking. An extract of the code concerning the picking is as follows: bool PickHandler::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) { osgViewer::Viewer* viewer = dyn