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">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><br>Anja<br><br><br>