You'll find a small attached dataset.<br>
<br>
This dataset was generated with Paraview 2.0r3.  I loaded up one
of my 128^3 datasets, and used the Extract Grid to pull a small 10^3
from it.  When I load it with the latest CVS VTK, I get "null" for
all the field names, but Paraview shows them correctly.<br><br><div><span class="gmail_quote">On 8/25/05, <b class="gmail_sendername">Will Schroeder</b> <<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Can you send me a tiny example?<br>
Will<div><span class="e" id="q_105ef1b98110d234_1"><br><br>
At 02:38 PM 8/25/2005, Randall Hand wrote:<br>
</span></div><blockquote type="cite" cite="http://"><div><span class="e" id="q_105ef1b98110d234_3">I just installed the latest CVS
(it's been a few weeks since my last install), and low & behold I
can't get field names for my LegacyVTK files.  <br><br>
Calling GetPointData()->GetArray("string") always returns
NULL, and GetPointData()->GetArray(integer)->GetName always returns
"(null)" as well.  All the data is there, I just can't get
to field names. This is a blocker for me, as I can't really load any
data.<br><br>
i ============= Data Statistics ==================<br>
i Data is a "vtkStructuredPoints" from a
"vtkDataSetReader"<br>
i Dimensions:<br>
i       X
Range:       
1.000000        128.000000<br>
i       Y
Range:       
1.000000        128.000000<br>
i       Z
Range:       
1.000000        128.000000<br>
i       Center: (64.500000, 64.500000,
64.500000)<br>
i       Diagonal Length: 219.970453<br>
i       # of Points: 2,097,152<br>
i       # of Cells: 2,048,383<br>
i       Reported Memory Usage: 90 MB<br>
f FIELD Data contains 0 components in 0 arrays.<br>
p POINT Data contains 8 components in 4 arrays.<br>
p       Array [0]: vtkFloatArray
"(null)", 2,097,152 points, 4 bytes per point<br>
p                      
Magnitude Range:        0.0000 
1.0000<br>
p                      
Component 0 Range:      0.0000  1.0000<br>
p       Array [1]: vtkFloatArray
"(null)", 2,097,152 points, 4 bytes per point<br>
p                      
Magnitude Range:        0.0000 
1.0000<br>
p                      
Component 0 Range:      0.0000  1.0000<br>
p                      
Component 1 Range:      0.0000  1.0000<br>
p                      
Component 2 Range:      0.0000  1.0000<br>
p       Array [2]: vtkFloatArray
"(null)", 2,097,152 points, 4 bytes per point<br>
p                      
Magnitude Range:        0.0000 
1.0000<br>
p                      
Component 0 Range:      0.0000  1.0000<br>
p       Array [3]: vtkDoubleArray
"(null)", 2,097,152 points, 8 bytes per point<br>
p                      
Magnitude Range:        0.0000 
1.0000<br>
p                      
Component 0 Range:      0.0000  1.0000<br>
p                      
Component 1 Range:      0.0000  1.0000<br>
p                      
Component 2 Range:      0.0000  1.0000<br>
p       Active Arrays:<br>
p              
Scalar Array: "(null)"<br>
p              
Vector Array: "(null)"<br>
c CELL Data contains 0 components in 0 arrays.<br>
c       Active Arrays:<br>
i ========== End of Data Statistics ===============<br><br>
<br>
-- <br>
Randall Hand<br>
<a href="http://www.yeraze.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.yeraze.com</a> <br></span></div>
_______________________________________________<br>
vtk-developers mailing list<br>
<a href="mailto:vtk-developers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">vtk-developers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.vtk.org/mailman/listinfo/vtk-developers</a></blockquote>


</blockquote></div><br><br clear="all"><br>-- <br>Randall Hand<br><a href="http://www.yeraze.com">http://www.yeraze.com</a>