<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Vincent,</div><div><br></div><div>Thank you for your mail. </div><div><br></div><div>I think that the problem is clearly stated (no need for a wiki-page) and the best solutions should be found.</div><div>In a real would application with some complexity (in terms of functionality needed) the application needs to keep track of a lo relations.</div><div>Embedding these relations in the toolkit whenever possible would make the application code a lot cleaner.</div><div>Whenever you do a objA->RequestAttach( objB ) it seems reasonable to be able to reach objA from objB and objB from objA. </div><div>The use case for wanting to know the ImageSO coordinate of a picked point its close to all IGS apps. and should be kept in mind while doing the ImageReslice, sync, etc. re-factoring.</div><div><br></div><div>- Frank</div><div><br></div><div><br></div><div><html>On Apr 3, 2008, at 11:18 AM, Vincent Gratsac wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite">Hi Patrick,<br><br>I will create a new point in "Design Discussion" called  Coordinate system framework for picking events. Are you OK ?<br>I am not sure that the problem I encounter is due to the IGSTK design, or due to my software's objects manager. Let me explain briefly how it works before creating a Wiki page, if needed.<br><br>a DisplayManager class manages all views of the software, and ObjectRepresentations added to these views. When a point is picked on one of these views, a picking event will be thrown by this view, and will be caught by the DisplayManager. Then, as Luis described to me, it *should* request the Transform between the View CoordinateSystem and the ImageSpatialObject pixel data coordinate system for each displayed ImageSpatialObjectRepresentation.<br><br>At this point, the problem is that the DisplayManager does not have access to the corresponding ImageSpatialObject (nor CoordinateSystem) for each ImageSpatialObjectRepresentation. Moreover, many ImageSpatialObject are managed (US, MRI, etc...). So I wonder if it would be possible, and logical, to add a way to get the CoordinateSystem (or ImageSpatialObject) related to an ImageSpatialObjectRepresentation.<br><br>You may think that this is not a good idea, and that I should find a way to store this relation between an ImageSpatialObjectRepresentation ans its CoordinateSystem (or ImageSpatialObject). That is why I am not sure that this is an insufficiency of the IGSTK coordinate system framework...<br><br>Is it explained better than last time? Do you understand what I mean?<br><br>Thank you,<br><br>Vincent<br><br>Patrick Cheng wrote:<br><blockquote type="cite">Hi Vincent,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am not sure if I understand your question. Could you describe a scenario (use case) that leads to the failure or show the insufficiency of the coordinate system?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I suggest that we continue this discussion on IGSTK wiki page, which is better organized.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://public.kitware.com/IGSTKWIKI/index.php/Main_Page">http://public.kitware.com/IGSTKWIKI/index.php/Main_Page</a><br></blockquote><blockquote type="cite">This fits under the "Design Discussion" section<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Do you want to give it a shot?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thank you,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Patrick<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Vincent Gratsac wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I'm sorry to pick out this point again, but something is still not clear to me...<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I well understood the process described by Luis the last time but, in my point of view, a problem is persistant :<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">At point (2), How can I get the ImageSpatialObject pixel data coordinate system if the software stores many ImageSpatialObjects (UltraSound, MRI, etc...) ?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">That's why I thought it would be useful to be able to get each coordinate system directly from the ImageSpatialObjectRepresentations which are stored by the View.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Do you want me to log a bug for this precise point?<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thank you,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Vincent<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Luis Ibanez wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Vincent,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">You will need a single ImageSpatialObject, and you will need<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">one ImageObjectRepresentation *for each* View where you want<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">to display the image.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">About creating bug,<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">please create your account in the MANTIS bug tracker<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">(just need to provide your email)<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   <a href="http://public.kitware.com/Bug/my_view_page.php">http://public.kitware.com/Bug/my_view_page.php</a><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Then do the following:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">  * Login in the NANTIS system<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">  * Select the IGSTK project on the upper right menu<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">  * Click on "Report Issue"<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Please let us know if you run into any difficulty while<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">reporting the bug.<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   Thanks<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">      Luis<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">------------------------<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Vincent Gratsac wrote:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Luis,<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thank you for your help.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">The solutions you described here seems to be a right way to do.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">However, this means that we still have to store the corresponding ImageSpatialObject for each ImageObjectRepresentation, isn't it ?<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I don't know where to log it as a bug. Could you tell me how to do ?<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Vincent.<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Luis Ibanez wrote:<br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi Vincent,<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Thanks for pointing this out.<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">What we are planning to do here is the following:<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">1) Views, in response to picking events will throw<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   IGSTK PointEvents, that will contain both a Point<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   and a reference to a coordinate system (the one<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   of the View).<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">2) You will be able to request the Transform between<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   the View CoordinateSystem and the ImageSpatialObject<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   pixel data coordinate system.<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">3) With the Transform you will get from (2), you will<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   be able to convert the point from the View coordinate<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   system to the ImageSpatialObject pixel data coordinate<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   system<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">4) Once you have the point in image space, you will be<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   able to map it to pixel indices and access (read only)<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   pixel data.<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Pieces (1),(3) and (4) need to be implemented.<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Piece (2) is currently functional<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Could you please log a bug, for this topic ?<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">You could describe it as "fixing the coordinate system<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">framework for picking events".<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">... or something along those lines...<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">BTW: Breaking the encapsulation of the ImageObjectRepresentation<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">     is probably not the best way to solve this issue.<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">   Thanks<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">      Luis<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">---------------------<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Vincent Gratsac wrote:<br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">First of all, thanks for the great effort of the IGSTK team to bring us this new release !<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I did not receive any answer to my last mail about how to get the ImageSpatialObject from an ImageObjectRepresentation.<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Did you understand my problem, and do you think that adding a RequestGetImageSpatialObject() method to the ImageObjectRepresentation class would be possible ?<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Vincent<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Hi all,<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">I'm currently working on slicing of displayed objects by giving a picked point.<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">The NeedleBiopsy example is helpful to learn how to do that !<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Here is my problem : my software can display some ObjectRepresentations for more than one SpatialObjects, but I'm not able to know to which ImageSpatialObject an ImageSpatialObjectRepresentation is related.<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">This is a problem when we try to convert a physical point to image indexes ( that's why I submitted the idea to add a ResliceToPhysicalPoint method in the ImageSpatialObjectRepresentation class).<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">This is also a problem if the transformation between one of the ImageSpatialObjects and the View object differs from Identity. In this case, I need to get this transformation and multiply its inverse to the picked point's coordinates, in order to express the picked point's coordinates in the ImageSpatialObject coordinate system. Next, I will have to convert the physical point to image index.<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">To conclude, I found some cases in which getting the ImageSpatialObject from an ImageSpatialObjectRepresentation is very useful. Is there a way to do it , or would it be unsafe to add such a method ?<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">Vincent<br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><br>-- <br>Vincent Gratsac<br>----------------------------------------------------<br>Unité/Projet VisAGeS U746<br>INSERM/INRIA/CNRS/U. de Rennes I<br>IRISA<br>Campus de Beaulieu, 35042 Rennes Cedex, France<br><br>Ph:  +33 (0) 2 23 23 49 20/ Fax: +33/0 2 99 84 71 71<br>email: <a href="mailto:Vincent.Gratsac@irisa.fr">Vincent.Gratsac@irisa.fr</a><br><a href="http://www.irisa.fr/visages/">http://www.irisa.fr/visages/</a><br>----------------------------------------------------- <br>_______________________________________________<br>IGSTK-Users mailing list<br>IGSTK-Users@public.kitware.com<br>http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users<br></blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><br class="khtml-block-placeholder"></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">------------------------------</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Frank Lindseth</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Research Scientist (PhD)</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Helvetica Neue; min-height: 12px; ; font-family: Helvetica Neue; font-size: 11px; "><font class="Apple-style-span" color="#696969"><br style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">SINTEF Health Research</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Dept. Medical Technology</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">N-7465 Trondheim, Norway</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Location: Olav Kyrres gt. 9, 4th floor, Trondheim</span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Helvetica Neue; min-height: 12px; ; font-family: Helvetica Neue; font-size: 11px; "><font class="Apple-style-span" color="#696969"><br style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">E-mail: </span></span></span></font><font class="Apple-style-span" color="#0020E3" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px; text-decoration: underline;; color: rgb(0, 32, 227); font-family: Helvetica Neue; -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 32, 227); font-family: Helvetica Neue; font-size: 11px; -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 32, 227); font-family: Helvetica Neue; font-size: 11px; -khtml-text-decorations-in-effect: underline; ">Frank.Lindseth</span></span></span></font><a href="mailto:thomas.lango@sintef.no"><font class="Apple-style-span" color="#0020E3" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(0, 32, 227); font-family: Helvetica Neue; -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 32, 227); font-family: Helvetica Neue; font-size: 11px; -khtml-text-decorations-in-effect: underline; "><span class="Apple-style-span" style="color: rgb(0, 32, 227); font-family: Helvetica Neue; font-size: 11px; -khtml-text-decorations-in-effect: underline; ">@sintef.no</span></span></span></font></a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Telephone: +47 928 09 372</span></span></span></span></span></span></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font class="Apple-style-span" color="#696969" face="Helvetica Neue" size="3"><span class="Apple-style-span" style="font-size: 11px;; color: rgb(105, 105, 105); font-family: Helvetica Neue; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; "><span class="Apple-style-span" style="color: rgb(105, 105, 105); font-family: Helvetica Neue; font-size: 11px; ">Telefax: +47 930 70 800</span></span></span></span></span></span></font></div><br class="Apple-interchange-newline"></span></span></span></span></div></span> </div><br></body></html>