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