[vtkusers] Please help me to reset the camera. (reset the rotation)
Dominik Szczerba
dominik at itis.ethz.ch
Sun Nov 9 11:53:01 EST 2008
There was just recently a thread on this. The conclusion was you need
GetCamera and SetCamera.
Dominik
Shady Shidfar wrote:
> Dear all VTK users,
> I have a problem and I have emailed the forum several times but rarely
> got any reply. I'm really stuck with it. I simply need to reset the
> camera. I use the vtkRenderer.ResetCamera().
> The problem is the actors if zoomed, are restored to there initial
> situation but the rotation of the actor won't be reset. Please can
> someone help me with this. you can simply try the example in
> Examples\Rendering\TclCylinder.tcl. I guess pressing "r" does the
> ResetCamera action. If you rotate the object and press "r", it won't be
> restored to it's initial position. can please someone help
> me with this issue.
>
> Thanks
> Shaadi
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
--
Dominik Szczerba, PhD
Computational Physics Group
IT'IS Foundation for Research
http://www.itis.ethz.ch
More information about the vtkusers
mailing list