From: Ahmed N. <Ahm...@bi...> - 2008-04-20 08:16:51
|
Dear John, thanks, this is what i was searching for. Thanks, Ahmed Nawar Software Developer International School of Information Science (ISIS) Bibliotecha Alexandrina P.O. Box 138, El-Chatby Alexandria 21526, Egypt Phone:+(203) 4839999, Ext.:1498 Fax:+(203) 482 0405 www.bibalex.org/isis -----Original Message----- From: John Kelso [mailto:ke...@ni...] Sent: Thu 4/17/2008 2:53 PM To: Ahmed Nawar Cc: DIVERSE development; Amal Abdelkarim Subject: Re: [diverse-devel] Stop Navigation Hi, Take a look at the buttonNavControl.cpp DSO. You can use the code in there to get a pointer to the current navigation, then make the navigation inactive using its deactivate method. I hope this helps, -John On Thu, 17 Apr 2008, Ahmed Nawar wrote: > Dear All, > > We want to stop the Navigation in a cluster Running DGL. > (I want to stop the Joystick but I want to use buttons) > > So We Use our vtCaveClusterGroup DSO. And this will Make as > > Server/console Loads these DSOs > "desktopCaveEmulateGroup:starter:navWrite" > And desktopCaveEmulateGroup contains > "caveDTKInput:desktopDisplay:wandJoystickNav:buttonNavControl" > > > - I Tried to remove "wandJoystickNav" Or Both "wandJoystickNav:buttonNavControl" > But the program end with "segmentation fault" > > { I think this is because "navWrite" checks about > if there is a navigation DSO or not ?!?!} > > - I tried to remove the "navWrite" and "navRead" from server and clients . > (Ofcourse I cannot use the buttons). > The application run But when I closed the Application the clients did not close. > > - So I built a copy from "wandJoystickNav" but I changed it > to do nothing with navigation. and I loaded it from "desktopCaveEmulateGroup". > And it works correctly. > > If we have another solution. Or any comment about above. > This will be a nice of you. > > > Thanks, > Ahmed Nawar > Software Developer > International School of Information Science (ISIS) > Bibliotecha Alexandrina > P.O. Box 138, El-Chatby Alexandria 21526, Egypt > Phone:+(203) 4839999, Ext.:1498 > Fax:+(203) 482 0405 > www.bibalex.org/isis > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > diverse-devel mailing list > div...@li... > https://lists.sourceforge.net/lists/listinfo/diverse-devel > |