[vtkusers] RE: vtkImageMapper Help
lisa.avila at kitware.com
Thu Jun 16 14:20:22 EDT 2005
Why doesn't the second method do what you want? The
vtkImageMapToWindowsLevelColors class has ivars for Window and Level, so
you can adjust these just as you do in a vtkImageMapper.
At 02:06 PM 6/16/2005, Abhi Rampal wrote:
>Thank you for replying, giving the post and explaning your pipeline. I
>followed the post and wrote the code suggested in two ways (a) using
>vtkImageMapper (RenderToRectangeOn()), vtkActor2D (SetPosition and
>SetPosition2) and (b) vtkImageMapToWindowLevelColors and vtkImageActor.
>For my current application the former works better because I can set the
>window color and window level. I looked into
>vtkImageMapToWindowLevelColors and vtkImageActor classes but they don't
>have this option. However option (b) gives the ability to zoom, pan,
>rotate etc which is something that I am going to be working on next. Would
>you know of a class that does both the things that I want?
>Thanks once again and with kind regards,
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:
More information about the vtkusers