[vtkusers] Aim Camera to Actor

Wenlong Wang scc.wwl at gmail.com
Mon Oct 31 14:02:54 EDT 2011


Dear all,

I'm trying to aim my camera to my acotr. By aim, I mean remain camera focal
distance the same, and set the focal point to the centre of the actor.

I know there are ways like manipulating vtkCamera::SetDistance and
vtkCamera::SetFocalPoint, but, is there any other automatical way to do
that? Such as I set an actor as input parameter and then the camera keep
tracking and focus on this actor?

Thank you very much for your help. I extremely appreciate it.

Best wishes
Long
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111031/13266be9/attachment.htm>


More information about the vtkusers mailing list