[vtkusers] is there a way to capture the x-y-z coordinates of a picture in coordinate system?

Robert Caldwell allan.caldwell at mail.mcgill.ca
Mon Jul 14 15:51:31 EDT 2008


I've been using vtkPicking. I was using it to return the coordinates on a
sphere to control the camera view. you can subclass vtkCommand and set it as
an observer. in the subclass call (in c++):

IRen->GetPicker()->GetPickPosition(Pos);

where pos is a double[3], which will contain the xyz global coordinates.

hope this helps. i can send some code if you need it. 


Gökhan ERSOY wrote:
> 
> is there a way to capture the x-y-z coordinates of a picture in coordinate
> system? i was doing it in OpenCV. But now i have to use VTK, and i have to
> capture position values. can anybody help me?
> 
> thanks...
> *
> Gökhan*
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/is-there-a-way-to-capture-the-x-y-z-coordinates-of-a-picture-in-coordinate-system--tp18451038p18451751.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list