[vtkusers] vtkInteractorStyle in vtkImageViewer
Leonardo M. Ramé
l.rame at griensu.com
Fri Sep 17 10:51:50 EDT 2010
Hi, I'm new to vtk and I'm trying to create a simple 2D Dicom image
viewer. With vtkImageViewer I can do window/level and zoom, but I'd like
to add more interactions, like "pan".
I thought it was possible by changing the interactor style, but it
doesn't work.
Here is what I did:
myImageViewer->GetRenderWindow()->GetInteractor()->SetInteractorStyle(vtkInteractorStyleTrackball::New());
Any hint?
--
Leonardo M. Ramé
Medical IT - Griensu S.A.
Av. Colón 636 - Piso 8 Of. A
X5000EPT -- Córdoba
Tel.: +54(351)4246924 +54(351)4247788 +54(351)4247979
Cel.: +54(351)5394365
More information about the vtkusers
mailing list