[Insight-users] convert between the point position in GLSliceView and index in the image

Yaoyao Zhu yaz304 at Lehigh.EDU
Mon Dec 8 13:46:15 EST 2008


Hi, all,

 

Does anyone know what is the relation between the real point position in
GLSliceView and the index in the image shown. i.e., I can get the point
position clicked 

 

X = Fl::event_x(),

Y= h()-Fl::event_y()

 

I know the corresponding the index of the image shown in the GLSliceView by

 

getClickedPoint() 

 

But what about the opposite, i.e. from the index of the image to the real
position of the window?

 

Thanks in advance

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081208/0b1ca7d9/attachment.htm>


More information about the Insight-users mailing list