<div>i am not sure whether i give the right suggestions or not.</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>when you save the ASCII data. u give some time for the computer to save it. </div>
<div>sometimes, people just save and close the program. for the big data set, the generation would be incomplete.</div>
<div>&nbsp;</div>
<div>and when you read the VTK ASCII data again, the reader returns some errors.</div>
<div>&nbsp;</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/23/07, <b class="gmail_sendername"><a href="mailto:deusexcomputer@gmail.com">deusexcomputer@gmail.com</a></b> &lt;<a href="mailto:deusexcomputer@gmail.com">deusexcomputer@gmail.com</a>
&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I have trying to write out a vtk file with a custom cpp function<br>however I am unsure of how to format a file for vector data.&nbsp;&nbsp;I have
<br>reviewed the pdf documentation that is available here at <a href="http://vtk.org">vtk.org</a> but<br>when I attempt to render the file I have created I receive the<br>following:<br><br>Generic Warning: In \enthon\src\Vtk-
5.0\Io\vtkDataReader.cxx, line 844<br>Error reading ascii data!<br><br>Could someone review this header and let me know if I am missing something?<br><br># vtk DataFile Version 2.0<br>Really cool data<br>ASCII<br>DATASET STRUCTURED_POINTS
<br>DIMENSIONS 20 20 20<br>ORIGIN 0 0 0<br>SPACING 1 1 1<br>POINT_DATA 8000<br>VECTORS vector0 float<br>-1.000000<br>0.000000<br>.<br>.<br>.<br>ect.<br><br>POINT_DATA 8000<br>VECTORS vector1 float<br>1.000000<br>1.000000<br>
.<br>.<br>.<br>ect.<br><br>Regards,<br>Tony<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>