Hi everybody,
I created a MainFrame that contains a toolbar and a TGLEmbeddedViewer, I created also 2 buttons to generate zoom-in and zoom-out of my glviewer, but I don’t know how to create this command. I tried the code below, without success. So, if someone have a suggestion, please help me . Thank you very much.
Hi Bertrand,
Thank you very much for your help!
I found a little problem with this code, the first time when I click in the button i.e. ZoomIn() the zoom is produced instantly, but if I press another time, etc… it doesn’t work. I must have to click and move the mouse in the GLViewer to produce the “refresh” image. Probably it’s releated with the gEve->Redraw3D(kTRUE).
Thank you again,
Cheers
You’re welcome!
And BTW, sorry for the late reply, but you posted on the wrong forum (this is not relaed to “Stat and Math Tools”)…
Best regards,
Bertrand.