[vtkusers] change image slices with keyboard
Jochen
jochen.kling at email.de
Thu May 24 11:37:10 EDT 2012
Hi José,
I have absolutely no experience with vtkImageResliceMapper, but from what
the documentation for vtkImageResliceMapper says I may see a way to do what
you want.
doxygen documentation wrote
>
> virtual void vtkImageResliceMapper::SetSlicePlane (vtkPlane *plane)
>
> Set the slice that will be used to cut through the image. This slice
> should be in world coordinates, rather than data coordinates. Use
> *SliceFacesCamera* and *SliceAtFocalPoint* if you want the slice to
> automatically follow the camera.
So, maybe you can manipulate the camera by keys and using those two
mentioned functions to make the slice follow the camera. I have no idea how
to do that, but I can imagine this could work somehow.
Perhaps it's a thought-provoking impulse to you.
Good luck.
with best regards
Jochen
--
View this message in context: http://vtk.1045678.n5.nabble.com/change-image-slices-with-keyboard-tp5713290p5713372.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list