<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<p>I have a program use "vtkExtractUnstructuredGrid" to extract pieces
from a big UnstructuredGrid dataset, it works fine with the old vtk files
which don't have FieldData. While if the big dataset has FieldData, it
appears that there is no scalar information in the small piece which was
produced by my program , "(the object of small data)->GetPointData()->GetScalars()"
will return 0.
<p>I compared ASCII files of both big and small vtk files, it seems OK,
the only questionable thing is the line with string "scalar" in:
<br># vtk DataFile Version 3.0
<br>FIELD FieldData 1
<br>scalars 1 273774 float
<br>are the same, no matter in big or small file there is 273774,
while the numbers follow the other terms reflect the change of size, for
example, in big file is "POINT_DATA 273774", in small file the correspondant
line is "POINT_DATA 21153".
<p>My visualiztion program can handle the big dataset with FieldData or
non-FieldData datasets no matter it is produced by "vtkExtractUnstructuredGrid"
<p>Any suggestions, comments, solutions??? Thanks!
VRAC(Virtual Reality Application Center),Iowa State University
Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>