[vtkusers] ActiViz | Changing Window Level and Window Width in a RenderWindowControl

David Cole dlrdave at aol.com
Sat Feb 8 14:17:29 EST 2014


Don't do this:

     vtkRenderWindowInteractor interactor = 
vtkRenderWindowInteractor.New();

Do this:

    vtkRenderWindowInteractor interactor = renderWindow.GetInteractor();

You don't need a new interactor, you just need a new interaction style 
that you push into the existing interactor.


Good luck.



More information about the vtkusers mailing list