Hi David, <div><br></div><div><div>I have tried around but still couldn'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"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></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've never used PyVTK, but people have told me that it works.<br>
Try the built-in documentation by using the python "help" 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"><<a href="mailto:forrest.bao@gmail.com">forrest.bao@gmail.com</a>> wrote:<br>
> Hi David,<br>
><br>
> I tried PyVTK. But I couldn't find its documentation on its website either.<br>
> All I found are 3 examples released with the source code. They only contain<br>
> VTK writing operations, no readings from files. Do you have examples on file<br>
> reading in PyVTK?<br>
><br>
> Cheers, Forrest<br>
><br>
><br>
> On Wed, Dec 28, 2011 at 11:05 AM, David Gobbi <<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>> wrote:<br>
>><br>
>> Hi Forrest,<br>
>><br>
>> If you just need to read VTK data, then you can try PyVTK:<br>
>> <a href="http://cens.ioc.ee/projects/pyvtk/" target="_blank">http://cens.ioc.ee/projects/pyvtk/</a><br>
>> <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>
>><br>
>> - David<br>
>><br>
>> On Wed, Dec 28, 2011 at 1:21 AM, Forrest Sheng Bao<br>
>> <<a href="mailto:forrest.bao@gmail.com">forrest.bao@gmail.com</a>> wrote:<br>
>> > Hi,<br>
>> ><br>
>> > I am using python-vtk to read and write VTK-format data. But I couldn't<br>
>> > find<br>
>> > much information about all functions and data structures it provides,<br>
>> > even<br>
>> > after intensive googling. The only "official" information source I found<br>
>> > are<br>
>> > 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>
>> ><br>
>> > Is there any full doc about all functions and data structures of<br>
>> > python-vtk?<br>
>> ><br>
>> > Cheers, Forrest<br>
><br>
><br>
</div></div></blockquote></div><br></div></div>