[vtkusers] Strange factor with vtkPointPicker

Cameron Burnett w_e_b_m_a_s_t_e_r_6_9 at hotmail.com
Mon Apr 28 07:05:38 EDT 2008


Maybe you could give an example of what you're getting at the moment, and what you're after.

I had a problem in my project where I needed to select a point for my segmentation algorithm, however I actually needed the pixel index at that coordinate rather than the actual coordinate. In order to do this I had to use image->TransformPhysicalPointToIndex(point, index). Not sure if this will help or not in your case.

Not sure if anyone could help that much with the amount of information you have given. Just send a bit more information and we can try and answer your question :).

Regards,
Cameron. 



From: beromuald at wanadoo.fr
To: vtkusers at vtk.org
Date: Mon, 28 Apr 2008 11:58:22 +0200
Subject: [vtkusers] Strange factor with vtkPointPicker

Hi all,

I have a problem with vtkPointPicker.
I use this class to pick the click coords on an image, but the coords wich are picked needs to be multiplicate by a strange factor to be reals.
Someone know why?
and someone know how I can get this strange factor?
Thanks a lot,
Bye

_________________________________________________________________
Find the job of your dreams before someone else does
http://mycareer.com.au/?s_cid=596064 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080428/271a9e0a/attachment.htm>


More information about the vtkusers mailing list