[vtkusers] Update Rendering after manually modified vtkCamera
Trystan Louboutin
tanstry at gmail.com
Tue Jan 17 05:31:00 EST 2012
Hi All,
I update the vtkCamera parameters on a rendering window using :
SetFocalPoint(...);
SetPosition(...);
ComputeViewPlaneNormal();
SetViewUp(...);
OrthogonalizeViewUp();
SetViewAngle(...);
But the rendering is not updated immediately, it needs a user interaction
such as a left click in the window or minimize-maximize the widget...
It probably miss a call to an "update" function but I can't find the one.
I tried calling ResetCameraClippingRange(); or ResetCamera(); on the
renderer but nothing changes.
Any idea ?
Regards,
Trystan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120117/ca255663/attachment.htm>
More information about the vtkusers
mailing list