[vtkusers] vtkImageViewer and interaction

Laurent PAUL Laurent.Paul at orto.ucl.ac.be
Fri Oct 20 11:25:10 EDT 2006


Hi users,

I try to display 2D images and interact with them.
I use FLTK and vtkFlRenderWindowInteractor.

For 2D rendering, I use vtkImageViewer. My problem is that I can only
change window/level settings with the left button. Others buttons have no
effect on the window.

I try to add an vtkInteractorStyleImage, but it doesn't function with
vtkActor2D (which is used by vtkImageViewer).
I tried to change th vtkImageViewer with vtkImageMapper, vtkActor,
vtkRenderer and vtkRenderWindow but with no success...

My question is simple:
How can I display 2D images using Fltk, vtkFlRenderWindowInteractor, with
the hability to pan, zoom, set window/level and pick?

Thanks for any help,

Laurent.








More information about the vtkusers mailing list