[vtkusers] vtkimageReader wrongly read Volume Data File

Steven Wu wzllist at yahoo.com.cn
Wed Jul 10 08:48:40 EDT 2002


such a piece code but got wrong reading
vtkImageReader reader
reader SetFileName "/ImageData/3diMAGES/SPHERE40.RAW"
reader SetDataExtent 0 39 0 39 0 39
reader SetDataScalarTypeToUnsignedChar
reader SetDataSpacing 1 1 1
reader SetDataOrigin 0 0 0

I tried to test for other volume raw files but none
was readed correctly.  but if vtkImageReader reads 
multi files as volume data, it is ok.

Does anyone know what's problem in VTK 4.0



_________________________________________________________
Do You Yahoo!? 
银行巨头聚会中原 大浪淘‘金’谁将笑傲
http://sweepstakes.yahoo.com/bank_surveywave2/



More information about the vtkusers mailing list