[vtk-developers] Broken vtkDataSetReader ?
Randall Hand
randall.hand at gmail.com
Thu Aug 25 14:38:11 EDT 2005
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.
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.
i ============= Data Statistics ==================
i Data is a "vtkStructuredPoints" from a "vtkDataSetReader"
i Dimensions:
i X Range: 1.000000 128.000000
i Y Range: 1.000000 128.000000
i Z Range: 1.000000 128.000000
i Center: (64.500000, 64.500000, 64.500000)
i Diagonal Length: 219.970453
i # of Points: 2,097,152
i # of Cells: 2,048,383
i Reported Memory Usage: 90 MB
f FIELD Data contains 0 components in 0 arrays.
p POINT Data contains 8 components in 4 arrays.
p Array [0]: vtkFloatArray "(null)", 2,097,152 points, 4 bytes per point
p Magnitude Range: 0.0000 1.0000
p Component 0 Range: 0.0000 1.0000
p Array [1]: vtkFloatArray "(null)", 2,097,152 points, 4 bytes per point
p Magnitude Range: 0.0000 1.0000
p Component 0 Range: 0.0000 1.0000
p Component 1 Range: 0.0000 1.0000
p Component 2 Range: 0.0000 1.0000
p Array [2]: vtkFloatArray "(null)", 2,097,152 points, 4 bytes per point
p Magnitude Range: 0.0000 1.0000
p Component 0 Range: 0.0000 1.0000
p Array [3]: vtkDoubleArray "(null)", 2,097,152 points, 8 bytes per point
p Magnitude Range: 0.0000 1.0000
p Component 0 Range: 0.0000 1.0000
p Component 1 Range: 0.0000 1.0000
p Component 2 Range: 0.0000 1.0000
p Active Arrays:
p Scalar Array: "(null)"
p Vector Array: "(null)"
c CELL Data contains 0 components in 0 arrays.
c Active Arrays:
i ========== End of Data Statistics ===============
--
Randall Hand
http://www.yeraze.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20050825/37c40373/attachment.html>
More information about the vtk-developers
mailing list