[vtkusers] newbie VTK file format for vector data
Peter Spring
meancity at gmail.com
Mon Jan 22 20:46:10 EST 2007
i am not sure whether i give the right suggestions or not.
when you save the ASCII data. u give some time for the computer to save it.
sometimes, people just save and close the program. for the big data set, the
generation would be incomplete.
and when you read the VTK ASCII data again, the reader returns some errors.
On 1/23/07, deusexcomputer at gmail.com <deusexcomputer at gmail.com> wrote:
>
> 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.
>
> Regards,
> Tony
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070123/607f8e44/attachment.htm>
More information about the vtkusers
mailing list