[vtkusers] reset camera

Rodrigo Valiña Gutiérrez rodrigo.valina at usc.es
Fri May 7 04:20:09 EDT 2010


Hi,

I want to reset the camera, and I am using:

renderer.ResetCamera().

That resets the position and size, but not the rotation of the object.
I wanted to place it in the default orientation (like initial
orientation), but I don't find any method that works.

I can not use the saved position of the camera because in my scene,
the number of objects may have changed, and thus the center and size.

Is there any form of reseting the camera rotation which works for any
scene configuration ?

--
Rodrigo



More information about the vtkusers mailing list