saving/restoring views..

Randy Heiland heiland at ncsa.uiuc.edu
Fri May 12 15:24:36 EDT 2000


On this same thread, I'd like to also save the camera "zoom".  I save the
camera params as discussed previously, then I tried something like this:

va = ren.GetActiveCamera().GetViewAngle()
 then:
ren.GetActiveCamera().SetViewAngle(va)
...ViewingRaysModified()

but this doesn't seem to work for me, I seem to still need a ren.ResetCamera()
to get something displayed in the window - which undoes the ViewAngle.

Any ideas?

--Randy
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list