[vtkusers] Reset the camera

Farshid Dehmeshki farshid.dehmeshki at medicsight.com
Fri Jan 24 12:08:13 EST 2003


you  should define a camera at the begining and hold camera information( camera position and camera focal point by GetFocalpoint and...) and when you wish to restore camera you can set camera with those information again.
for more information reffer to VTKCamera class.
 
******************************* 
Farshid  Dehmeshki 
Software Engineer
Medicsight Plc
46 Berkeley Square
London
W1J 5AT
Tel : 020 7598 4074
Fax: 020 7598 4071
Email : farshid.dehmeshki at medicsight.com
Web Site : www.medicsight.com 
******************************* 
  
The contents of this e-mail are intended for the named addressee only. It contains information which may be confidential and which may also be privileged. Unless you are the named addressee (or authorised to receive for the addressee) you may not copy or use it, or disclose it to anyone
else. If you received it in error please notify us immediately and then destroy it. Further, we make every effort to keep our network free from viruses. However, you do need to verify that this email and any attachments are free of viruses as we can take no responsibility for any computer virus which might be transferred by way of this e-mail.

-----Original Message-----
From: Karlsson Erik [mailto:erik.karlsson at optronic.se]
Sent: Friday, January 24, 2003 4:54 PM
To: 'vtkusers at public.kitware.com'
Subject: [vtkusers] Reset the camera



Hi! 
Maybe this is a stupid question, but I can't find a way to reset the camera to its starting values. 
I tried calling the ResetCamera() function from my renderer, but that only have effect if I have zoomed in on the object. The rotations are still present and I want to get rid of them too, so that the scene looks just like it did from the beginning - before I rotated or zoomed.

By the way - I guess I'm using a default camera, as I haven't set any camera to the renderer. 
This is probably very easy... But please help me out! 

Thanks in advance! 

Erik Karlsson 
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.F-Secure.com/ 


_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030124/8e89c134/attachment.htm>


More information about the vtkusers mailing list