[vtkusers] Bump: 3D position of ImageReslice

Henning Meyer tutmann at gmail.com
Mon Jul 5 10:53:36 EDT 2010


Hello again,

I'm trying to get the 3D position of the mouse inside a
vtkImageReslice in order to modify voxels under the cursor.
The problem is, that the 3D position seems to be off in the Viewers direction.
As a quick demo I modified on of the VTK Examples, download here:
http://dl.dropbox.com/u/391496/ImageResliceProblem/demo.tbz
If you press a key in the demo window, the app tries to color the
voxel under the cursor black.
But - as you'll see - a different (off in viewer direction) voxel is choosen.

What is wrong here?

Thank you very much!

Henning



More information about the vtkusers mailing list