Hi Sascha, You're probably looking at the generated wrapper code in OpenSceneGraph/src/osgWrappers/osgGA. The actual source for those modules is in OpenSceneGraph/src/osgGA.
-Mike > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:osg-users- > [EMAIL PROTECTED] On Behalf Of Sascha Kuhn > Sent: Wednesday, February 14, 2007 4:34 PM > To: osg users > Subject: RE: [osg-users] EventHandler list > > Hi Robert > In the source code I wanted to look to some of this following examples: > osgGA::TrackballManipulator, DriveManipulator, > FlightManipulator. > But in the cpp file is only the OBJECT_REFLECTOR with all declared > methods. > Do you know where I can find more of this codes? > Thanks > Sascha > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Robert Osfield > Sent: Wednesday, February 14, 2007 11:25 AM > To: osg users > Subject: Re: [osg-users] EventHandler list > > > Hi Sacha, > > Could you avoid doing a reply to, as the most of your message is > irrelvant and confusing for those trying to follow the thread. > > On 2/14/07, Sascha Kuhn <[EMAIL PROTECTED]> wrote: > > I try from the example osgKeyboardMouse.osg to change the program code > indeed I want to move the viewer with the scroll button. > > I add it in the example where it get the callbacks passed from the > KeyboardMouseCallback to EventQueue. > > If I understand this right than I have only to add a inherited class > from GUIHandler.. to the EvenHandler list > > where I can set the ViewMatrix. > > What I not understand how can I define in this class that if the mouse > scroll that it call the method of the inherited class (where I can set the > view Matrix)? > > I am bit confused after reading the above, it sounds like you are > looking for an EventHandler that can be used to control the view > matrix, in which case look at the osgGA::MatrixManipualtor subclass > from osgGA::GUIEventHandler. There are number of subclasses from this > to learn from such as osgGA::TrackballManipulator, DriveManipulator, > FlightManipulator. > > Robert. > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
