[vtkusers] python wrappers not including all methods on w2k?

David Gobbi dgobbi at irus.rri.ca
Mon Jul 2 11:12:10 EDT 2001


Hi Eric,

This is probably the case for all methods that use the new 'vtkIdType.'
The wrappers under UNIX work fine (someone must have updated them to
recognize the new type) but it appears that the wrappers for Windows
haven't been updated yet.

 - David

On Mon, 2 Jul 2001, eric jones wrote:

> Hello,
>
> I did a build from the last nights CVS on w2k for python2.1 using pcmaker
> and vc++.  All went fine with the compile.  Also, 'import vtkpython' works
> fine.  However, many of the methods for classes are missing.
>
>     >>> q=vtk.vtkScalars()
>     >>> q.InsertNextScalar(5)
>     Traceback (most recent call last):
>       File "<stdin>", line 1, in ?
>     AttributeError: InsertNextScalar
>
>
> a dir(q) reveals other missing methods.
>
> I did a
>
>     vtkWrapPython ../common/vtkScalars.h ../wrap/hints 0 > test.cxx
>
> and also
>
>     vtkWrapPython ../common/vtkScalars.h ../wrap/hints 1 > test.cxx
>
> Both output:
>
>    Parsed func New
>    Parsed func New
>    ...
>    Parsed func InsertScalar
>    Parsed func InsertNextScalar
>    ...
>
> but neither output file has a wrapper for InsertNextScalar.
>
> Any guidance here?
>
> thanks,
> eric
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>





More information about the vtkusers mailing list