[vtkusers] RE: vtkImageMapper Help

Lisa Avila lisa.avila at kitware.com
Thu Jun 16 14:20:22 EDT 2005


Hello Abhi,

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.

Lisa


At 02:06 PM 6/16/2005, Abhi Rampal wrote:
>Dear Julien,
>
>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,
>
>Abhi
>
>
>_______________________________________________
>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:
>http://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list