[vtkusers] vtk and python for large amout of data
David Gobbi
dgobbi at imaging.robarts.ca
Thu Dec 5 22:41:32 EST 2002
On Fri, 6 Dec 2002, Prabhu Ramachandran wrote:
> >>>>> "DG" == David Gobbi <dgobbi at imaging.robarts.ca> writes:
>
> DG> Hi Berk, What version of Python & which version of Numeric are
> DG> you using? Because what works for you, doesn't work for me
> DG> (Python 2.1, Numeric 11).
>
> Works for me: Python 2.1.3, Numeric 21.0, Linux.
And works for me with Python 2.1.3, Numeric 20.2.0.
There is some magic in Numeric and in PyArg_ParseTuple that makes it work.
I was the one who wrote the wrapper code that handles "void *", and I tell
you, the (python array)->(C++ void*) conversion is by accident and not by
design!
I'll give a sucker to the first person who figures out why it
works, 'cause heck if I know.
David
More information about the vtkusers
mailing list