Thank's Shekhar!<br><br><br><br><br><div class="gmail_quote">2009/2/2 shekharc <span dir="ltr"><<a href="mailto:Shekhar.Chandra@sci.monash.edu.au">Shekhar.Chandra@sci.monash.edu.au</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys,<br>
<br>
Have a look at vtkImageMapToWindowLevelColors class. It is automatically used in vtkImageViewer2 class where u just need to call functions<br>
<br>
SetColorWindow (double s)<br>
SetColorLevel (double s)<br>
<br>
Hope that helps<br>
Cheers<br>
Shakes<div class="Ih2E3d"><br>
<br>
Paulo Henrique Junqueira Amorim wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
I too have the same questions.<br>
<br>
<br>
<br>
<br>
<br></div>
2009/1/30 Paul Jhin <<a href="mailto:paul.jhin1@gmail.com" target="_blank">paul.jhin1@gmail.com</a> <mailto:<a href="mailto:paul.jhin1@gmail.com" target="_blank">paul.jhin1@gmail.com</a>>><div><div></div><div class="Wj3C7c">
<br>
<br>
Hi,<br>
<br>
I'm using vtkInteractorStyleImage, I know it is possible to change<br>
window and level without changing the data ?<br>
<br>
Code:<br>
<br>
istyle = vtk.vtkInteractorStyleImage()<br>
istyle.AutoAdjustCameraClippingRangeOn()<br>
interactor.SetInteractorStyle(istyle)<br>
<br>
<br>
Regards,<br>
Paul Jhin<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at:<br>
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
<br></div></div>
------------------------------------------------------------------------<div class="Ih2E3d"><br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></blockquote>
</blockquote></div><br>