[vtkusers] Camera manipulation

Jerome Velut jerome.velut at creatis.insa-lyon.fr
Wed Feb 18 03:18:11 EST 2004


Hi,
You can use the ParallelProjectionOn() method in the vtkCamera object.
I hope this will help!

Jerome

安 继业 wrote:

>
> Hi.
>
> After the picking problem, I tunrs to camera manipulation.
>
> My purpose is to keep the camera lies in front of the screen, just
> like it is holding by the user. And I will let the camera to do a
> parallel projection always. So when user want to pick one point at the
> cursor position, a ray that runs perpendicular with the rendering
> window will be intersected with each actors.
>
> How can I achieve this? When user interact with the rendering process
> by vtkRenderWindowInteractor through mouse, either the position of the
> camera or the actor will be changed.
>
> Any suggestion will be appreciated. Thank you in advance.
>
> Best Regards,
> Jiye An
>
> _________________________________________________________________
> 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.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://www.vtk.org/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list