[vtkusers] vtkCamera reset problem
Shyam Prakash
ramakrishna.prakash at quest-global.com
Wed Aug 27 06:22:59 EDT 2003
Just a guess. You can remember initial camera position and do
Cam->SetPosition(initPosition); every time when you want to reset.
--Shyam
-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of Julien Hamaide
Sent: Wednesday, August 27, 2003 3:35 PM
To: VTK user list
Subject: [vtkusers] vtkCamera reset problem
I'd like to reset camera, but the vtkRenderer::ResetCamera function only
reset modifcation made by the zoom and translate button, and not the
rotate
button. How can I reset the camera to her original position?
Thanks
Julien Hamaide
Tcts Lab - Multitel Asbl.
Faculte Polytechnique de Mons
Parc Initialis - Avenue Nicolas Copernic,1
7000 - Mons
Belgium
http://tcts.fpms.ac.be
tel +32 65 37 47 43
email : julien.hamaide at tcts.fpms.ac.be
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list