[vtkusers] Updating vtkCamera after SetPosition and SetFocalPoint

Donny donnyz at charter.net
Tue Oct 19 19:08:05 EDT 2010


If I call Azimuth() or Dolly() on the active camera and then call Render()
on the RenderWindowInteractor the scene acts as intended. If I call
SetPosition and SetFocalPoint on the active camera and then call the same
Render() on RenderWindowInteractor the scene does not update. If I then call
Azimuth() or Dolly() again the scene updates with the camera moved to the
correct position set with the previous SetPosition and SetFocalPoint calls.
How do I get the camera to update after calling SetPosition() and
SetFocalPoint() so that a call to Render()  will render the set position and
focus?

 

Thanks.

 

Donny Zimmerman

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20101019/4e80fd7d/attachment.htm>


More information about the vtkusers mailing list