<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm trying to create a toy x-y board which has pieces, realized as Actors, that I can drag around in the x-y plane. Through the vtkPicker() I have figured out how to choose a piece, and I can get the render window coordinates through GetInteractor().GetEventPosition(). Further, if I now move the mouse I can calculate a Dx,Dy shift in the window coordinate. But I would now like to translate the Window Dx,Dy to an Actor Dx,Dy shift. I.e. I would like to take a two pairs of xy coordinates in window coordinates and calculate their respective positions in actor coordinates, according to the current actor to dispay matrix. How can I do that?<br>
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks in advance!<br>Dov<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br><br></div><div style id="divCleekiAttrib">
</div><div style id="divCleekiAttrib"></div></div>