[vtkusers] HistogramWidget.tcl out-of-date in vtk4.5

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Mar 18 11:44:32 EST 2004


Fixed in CVS. Thank you Jean.

Jean M. Favre wrote:
> 
> FYI, (users with VTK4.5 after the float to double system-wide updates)
> 
> I found that an update was required in the script file
> 
> Examples/ImageProcessing/Tcl/HistogramWidget.tcl
> 
> both lines 91 and 166 need to be changed from
> 
> set y [$data GetScalarComponentAsFloat $idx 0 0 0]
> set y [$data GetScalarComponentAsFloat $x 0 0 0]
> 
> to
> 
> set y [$data GetScalarComponentAsDouble $idx 0 0 0]
> set y [$data GetScalarComponentAsDouble $x 0 0 0]
> 






More information about the vtkusers mailing list