[vtkusers] Panning question

John Biddiscombe jbiddiscombe at skippingmouse.co.uk
Wed Jan 15 17:52:37 EST 2003


There's some code whiuch does this in vtkInteractorStyleFlight.
Unfortunately the class doesn't seem to be working right now (my fault -
long term negligence), but you can find the bit that computes the
forward/Bacward Left/Right vectors and use that

JB

----- Original Message -----
From: "Ben Held" <ben.held at staarinc.com>
To: <vtkusers at public.kitware.com>
Sent: Wednesday, January 15, 2003 9:25 PM
Subject: [vtkusers] Panning question


> Hello,
>
> I am looking for a function which will allow me to pan in a view by
> specifying a number of pixels to pan horizontally and a number of pixels
to
> pan vertically, regardless of the orientation of the view.  I assume all I
> need to do is adjust the camera position and focal point accordingly,
taking
> into account the view orientation.  Anyone have code for this?
>
> Thanks,
>
> Ben
>
> Ben Held
> Simulation Technology & Applied Research, Inc.
> 11520 N. Port Washington Rd., Suite 101B
> Mequon, WI  53092
> P: +1 (262) 240-0291 x101
> F: +1 (262) 240-0294
> W: http://www.staarinc.com
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list