Hi everyone,<br><br>Just wondering if this has got something to do with the extents and if there has to be some manual setting that has to be done. The reslicer is working in 2D mode.<br><br>One curious thing is that there are different results when auro crop output is turned on the reslicer. For example, if you rotate the slice along the normal, it rotates differently, if you the auto crop output set on than if you have it off... Struggling to understand what is actually happening here...
<br><br>Again, if someone could help me a bit here, I would be really grateful. I can send some code if someone could help me diagnose what is happening here. Completely lost here...<br><br>Thanks,<br>Anja<br><br><br><br>
<div><span class="gmail_quote">On 25/09/06, <b class="gmail_sendername">Anja Ende</b> &lt;<a href="mailto:anja.ende@googlemail.com">anja.ende@googlemail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi everyone,<br><br>I was getting really frustrated with getting the vtkTransform this weekend. I finally have it working properly (almost!) with the oblique slicing and the subsequent transformations.<br><br>The thread is here: 
<a href="http://public.kitware.com/pipermail/vtkusers/2006-September/087168.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://public.kitware.com/pipermail/vtkusers/2006-September/087168.html
</a><br><br>The only issue that remains is that of adjusting for the change in the slice position in the display.
<br><br>So, basically this is what is happening:<br><br>I have a display that shows the 3 orthogonal slice initially. Then I rotate the slices about a picked point in the Z axes. Now, the size of the slice would depend on where the rotation point lies, of course. I notice that the slice gets translated on the screen display and the amount of displacement depends on the rotation center.
<br><br>Now, when I try to calculate the transformed point on the screen, I need to know the position of the 2D actor. However, even after the displacement the actor returns the same position.<br><br>Basically, after the rotation I need to update some onscreen markers and these markers are not been shown a bit off as the slice keeps jumping on the screen.
<br><br>This happens whether I have set the AutoCropOutputOn() or Off() on the vtkImageReslice.<br><br>If anyone has any ideas of what is happening, I would be really grateful. This problem has me stumped for days now...
<br>
<br>Thanks and best,<br><span class="sg"><br>Anja<br><br><br>

</span></blockquote></div><br>