[vtkusers] VtkImageViewer2 disabling window level

John Drescher drescherjm at gmail.com
Tue Oct 19 11:23:40 EDT 2010


On Tue, Oct 19, 2010 at 11:19 AM, Leonardo M. Ramé <l.rame at griensu.com> wrote:
> Hi, I'm creating an image viewer based on VTKImageViewer2, and I want to
> create a Toolbox where the user picks an option, like "circle" or "box",
> then drag that to the image to show it.
>
> My problem is, whenever the user drags anything to the viewer, it does
> Window/Level. How can I disable WindowLevel?
>

Install your own interactor style.

http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html

-- 
John M. Drescher



More information about the vtkusers mailing list