[vtkusers] Accessing Scalar Data

Jean M. Favre jfavre at cscs.ch
Thu Jul 24 03:27:26 EDT 2003


Patrick Lowry wrote:
> 
> Greetings,
> 
> I suspect that my question has been answered many time and many ways.  I
> have some old Tcl/Tk code using the following command.
> 
>    set ptscal [[[[simvol GetOutput] GetPointData] GetScalars] GetScalar $i]

Use

     set ptscal [[[[simvol GetOutput] GetPointData] GetScalars] GetValue
$i]

-- 
Dr. Jean M. Favre,                            email:favre at 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