[vtkusers] Fw: Resetting the Camera

Shady Shidfar shady_shidfar at yahoo.com
Thu Oct 30 12:29:43 EDT 2008





----- Forwarded Message ----
From: Shady Shidfar <shady_shidfar at yahoo.com>
To: Dominik Szczerba <dominik at itis.ethz.ch>; VTKUsers <vtkusers at vtk.org>
Sent: Wednesday, 29 October, 2008 15:16:38
Subject: Re: [vtkusers] Resetting the Camera


That doesn't work. If you rotate the rendering object say left mouse click and then reset the camera It won't display the object in it's originial position. It eliminates operations done by zooming ofcourse but not rotating.

Thanks
Shaadi




________________________________
From: Dominik Szczerba <dominik at itis.ethz.ch>
To: Shady Shidfar <shady_shidfar at yahoo.com>
Cc: VTKUsers <vtkusers at vtk.org>
Sent: Wednesday, 29 October, 2008 13:25:52
Subject: Re: [vtkusers] Resetting the Camera

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I do:

    ren1->ResetCamera();

Dominik

Shady Shidfar wrote:
> 
> 
> Hi everyone, I need to reset the camera in my rendering window so that
> the modifications done by rotating the rendering objects will be reset.
> (So the objects are viewed in their initial size and position).
> 
>  
> 
> If you check
> http://www.vtk.org/pipermail/vtkusers/2003-August/069312.html , there is
> someone with exactly the same problem as mine and someone is suggesting
> resetting to camera's initial position. That still only resets to the
> initial rendered object size but the rotation is still there.
> 
>  
> 
> Can someone please help me with this?
> 
> 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, Ph.D.
Computational Physics Group
Foundation for Research on IT in Society
http://www.itis.ethz.ch
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFJCGRg/EBMh9bUuzIRAhotAKDp4u2ISOaKswqOyZJPch2n4kmoMQCghYi2
PWl3EjK1M5j/Z+ujMjhapyg=
=6aH/
-----END PGP SIGNATURE-----


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20081030/393edfa9/attachment.htm>


More information about the vtkusers mailing list