Hi David, <div><br></div><div><div>I have tried around but still couldn&#39;t figure out. </div><div><br></div><div>Do you know anywhere I can get information about python-vtk? I just need one thing now, creating scalar pointdata from lists. </div>

<div><br clear="all">Cheers, Forrest<br>
<br><div class="gmail_quote">On Wed, Dec 28, 2011 at 5:21 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Forrest,<br>
<br>
I&#39;ve never used PyVTK, but people have told me that it works.<br>
Try the built-in documentation by using the python &quot;help&quot; function,<br>
<br>
from pyvtk import *<br>
help(VtkData)<br>
<br>
I hope that helps.<br>
<br>
 - David<br>
<br>
<br>
On Wed, Dec 28, 2011 at 4:09 PM, Forrest Sheng Bao<br>
<div><div></div><div class="h5">&lt;<a href="mailto:forrest.bao@gmail.com">forrest.bao@gmail.com</a>&gt; wrote:<br>
&gt; Hi David,<br>
&gt;<br>
&gt; I tried PyVTK. But I couldn&#39;t find its documentation on its website either.<br>
&gt; All I found are 3 examples released with the source code. They only contain<br>
&gt; VTK writing operations, no readings from files. Do you have examples on file<br>
&gt; reading in PyVTK?<br>
&gt;<br>
&gt; Cheers, Forrest<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Dec 28, 2011 at 11:05 AM, David Gobbi &lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Forrest,<br>
&gt;&gt;<br>
&gt;&gt; If you just need to read VTK data, then you can try PyVTK:<br>
&gt;&gt; <a href="http://cens.ioc.ee/projects/pyvtk/" target="_blank">http://cens.ioc.ee/projects/pyvtk/</a><br>
&gt;&gt; <a href="http://www.vtk.org/Wiki/VTK/Writing_VTK_files_using_python" target="_blank">http://www.vtk.org/Wiki/VTK/Writing_VTK_files_using_python</a><br>
&gt;&gt;<br>
&gt;&gt;  - David<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Dec 28, 2011 at 1:21 AM, Forrest Sheng Bao<br>
&gt;&gt; &lt;<a href="mailto:forrest.bao@gmail.com">forrest.bao@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I am using python-vtk to read and write VTK-format data. But I couldn&#39;t<br>
&gt;&gt; &gt; find<br>
&gt;&gt; &gt; much information about all functions and data structures it provides,<br>
&gt;&gt; &gt; even<br>
&gt;&gt; &gt; after intensive googling. The only &quot;official&quot; information source I found<br>
&gt;&gt; &gt; are<br>
&gt;&gt; &gt; a several example codes at <a href="http://cmake.org/Wiki/VTK/Examples/Python" target="_blank">http://cmake.org/Wiki/VTK/Examples/Python</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there any full doc about all functions and data structures of<br>
&gt;&gt; &gt; python-vtk?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers, Forrest<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div></div>