Mon, 02/14/2022 - 11:35
Forums:
Hi guys,
I would like the V3d_View to zoom or fit to a defined rectangle (the rubber band), there a V3d_View->FitAll method supplied with theMinXv, theMinYv, theMaxXv, theMaxYv but it doesn't look like what I'm looking for. Please help.
Thank you.
Mon, 02/14/2022 - 21:16
There is V3d_View::WindowFitAll() for this purpose. If you are using AIS_ViewController, then you may use AIS_MouseGesture_ZoomWindow gesture for performing a zoom on a rectangular rubber-band selection.
Tue, 02/15/2022 - 11:08
Hi Kirill,
That's what I'm looking for. Thanks for your help.
Cheers,