[vtkusers] vtkCamera movement

Benoit Regrain benoit.regrain at creatis.insa-lyon.fr
Wed May 26 04:41:51 EDT 2004


If your image in place at the world origin, vtkCamera::SetPosition will only change the camera position, but the camera focal point
will stay on the world origin. Use vtkCamera::SetFocalPoint to move the destination seen by the camera.

Benoit



  ----- Original Message ----- 
  From: Ludovic Godrant 
  To: vtk 
  Sent: Wednesday, May 26, 2004 9:54 AM
  Subject: [vtkusers] vtkCamera movement


  Hello vtk user,

  I can't move a camera on a renderer :
  I have an imageActor in my renderer. I can zoom in and out it but the zoom is based on the image center so i can't see image corners.
  I would like to move the camera thanks interaction not to see only the image center. I tried vtkCamera::SetPosition and i refresh the renderWindow but nothing happened.
  Somebody could help me ??

  Thank's
  Ludo


------------------------------------------------------------------------------
  Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
  Créez votre Yahoo! Mail 

  Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !


------------------------------------------------------------------------------


  _______________________________________________
  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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040526/3c33a60d/attachment.htm>


More information about the vtkusers mailing list