[vtkusers] VTK formating for vector data
deusexcomputer at gmail.com
deusexcomputer at gmail.com
Sun Jan 21 12:53:02 EST 2007
Hello,
I have trying to write out a vtk file with a custom cpp function
however I am unsure of how to format a file for vector data. I have
reviewed the pdf documentation that is available here at vtk.org but
when I attempt to render the file I have created I receive the
following:
Generic Warning: In \enthon\src\Vtk-5.0\Io\vtkDataReader.cxx, line 844
Error reading ascii data!
Could someone review this header and let me know if I am missing something?
# vtk DataFile Version 2.0
Really cool data
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 20 20 20
ORIGIN 0 0 0
SPACING 1 1 1
POINT_DATA 8000
VECTORS vector0 float
-1.000000
0.000000
.
.
.
ect.
POINT_DATA 8000
VECTORS vector1 float
1.000000
1.000000
.
.
.
ect.
Any help help would be greatly appreciated.
Regards,
Tony
More information about the vtkusers
mailing list