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

Jean M. Favre jfavre at cscs.ch
Wed Mar 17 03:33:46 EST 2004


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]

-- 
Dr. Jean M. Favre,                            email:favre @ cscs.ch
http://www.cscs.ch/people/Favre.html
CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82




More information about the vtkusers mailing list