[vtkusers] camera: moving inside object
Pankaj Chaudhari
pankaj2 at umbc.edu
Mon Feb 26 06:16:15 EST 2007
Hi Vaibhav,
I have been working on a similar problem, and I managed to do it using
vtkRenderWindowInteractor::FlyTo method.
Set your camera as you are doing right now, and just call this method on
your vtkRendererWindowInteractor object after setting the camera. It works
for me.
Good luck.
-Pankaj
----- Original Message -----
From: "vaibhav agarwal" <vaibhav_19842002 at yahoo.co.in>
To: <vtkusers at vtk.org>
Sent: Monday, February 26, 2007 3:02 AM
Subject: [vtkusers] camera: moving inside object
> Hi,
>
> I am trying to move inside a tube kind of object. But
> my problem is that i am only able to the object only
> from outide of its bounding box. I use SetFocalPoint
> SetPosition to modify my camera. But instread of
> camera going to that position, it provides only the
> direction of view with which i see the whole object.
> Zoom and Dolly methods only zoom the object and i
> still remain outside of the object's bounding box.
>
> Can't i set my camera position to a perticular
> co-ordinate and see from their ??
>
> Thank You.
> vaibhav
>
>
>
> ____________________________________________________________________________________
> 8:00? 8:25? 8:40? Find a flick in no time
> with the Yahoo! Search movie showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list