[vtk-developers] Broken vtkDataSetReader ?
Randall Hand
randall.hand at gmail.com
Fri Aug 26 09:34:32 EDT 2005
You'll find a small attached dataset.
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.
On 8/25/05, Will Schroeder <will.schroeder at kitware.com> wrote:
>
> Can you send me a tiny example?
> Will
>
> At 02:38 PM 8/25/2005, Randall Hand wrote:
>
> 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
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
--
Randall Hand
http://www.yeraze.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20050826/a50a3849/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: miniature.vtk
Type: application/octet-stream
Size: 619 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20050826/a50a3849/attachment-0001.obj>
More information about the vtk-developers
mailing list