[vtkusers] precision

Vincent MEYER meyer20_100 at hotmail.com
Thu Jul 22 09:48:25 EDT 2004


Hi vtkusers,

I've got scalars like below in a vtk file format.

SCALARS ro1 float
LOOKUP_TABLE LookupTable1
899.999607106
899.999522519
...

I use a vtkDataSetReader to read that file and when I do the command below, 
max0 and min0 are rounded to 900.

set range0 [[Reader0 GetOutput] GetScalarRange]
	set min0 [lindex $range0 0]
	set max0 [lindex $range0 1]

How can I say to the reader that I want a much higher precision?

Thanks a lot

Vincent

_________________________________________________________________
Hotmail : un compte GRATUIT qui vous suit partout et tout le temps ! 
http://g.msn.fr/FR1000/9493




More information about the vtkusers mailing list