[vtkusers] vtkImageViewer2 patch
    Mathieu Malaterre 
    Mathieu.Malaterre at creatis.insa-lyon.fr
       
    Mon Oct 20 11:09:48 EDT 2003
    
    
  
Hi all,
	I would like to commit this patch for vtkImageViewer2:
http://www.creatis.insa-lyon.fr/~malaterre/vtk/iv2.patch
	When using vtkImageViewer2 user can press 'r' to *reset* the 
window/color level, but before *reseting* we should first set it. That's 
what I do in method 'SetInput'. It is particularly usefull with image 
with bad range value:
http://www.creatis.insa-lyon.fr/~malaterre/vtk/badrange.vtk
	Which you can just simply see it with this python script:
http://www.creatis.insa-lyon.fr/~malaterre/vtk/viewer.py
---
	Furthermore I also included the fix for Win32. I force the RenderWindow 
(in vtkRenderer) to be NULL before destroying it.
See here for more info:
http://vtk.org/pipermail/vtkusers/2003-October/020528.html
and more recently:
http://vtk.org/pipermail/vtkusers/2003-October/020619.html
Comments welcome
mathieu
    
    
More information about the vtkusers
mailing list