[vtkusers] vtk vector file issues
Fatima Zahra El Filali
felfilali at dons.usfca.edu
Wed Mar 11 13:31:04 EDT 2015
Hello,
I am creating my own vtk file (originally wanted to do it in binary but
decided to do ASCII for visibility issues).
I am following the office tube example but wanted to use my own data (wind
data to be precise)
My file is copied bellow.
When I run my code (using the same approach as OfficeTube), I get the
following errors:
ERROR: In
/Users/fatimazahra/Documents/School/DataViz/vtkSource/vtkSource/VTK/IO/Legacy/vtkStructuredGridReader.cxx,
line 316
vtkStructuredGridReader (0x7f8d22e9bda0): *Unrecognized keyword: vectors*
ERROR: In
/Users/fatimazahra/Documents/School/DataViz/vtkSource/vtkSource/VTK/Filters/FlowPaths/vtkStreamer.cxx,
line 496
vtkStreamLine (0x7f8d22ea3190): *No vector data defined!*
Any ideas?
Thanks
File looks something like this:
# vtk DataFile Version 1.0
vtk output
ASCII
DATASET STRUCTURED_GRID
DIMENSIONS 21 20 20
POINTS 8400 float
0 0 0
0 0 1
0 0 2
0 0 3
0 0 4
0 0 5
0 0 6
0 0 7
0 0 8
0 0 9
0 0 10
....
20 19 19
POINT_DATA 8400
SCALARS scalars float
LOOKUP_TABLE default
VECTORS vectors float
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
1.13709529971e-31 1.13709529971e-31 1.13709529971e-31
....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150311/4ca06688/attachment.html>
More information about the vtkusers
mailing list