[vtk-developers] Problem with Python wrappers

Prabhu Ramachandran prabhu at aero.iitb.ac.in
Sun Jul 17 08:02:58 EDT 2011


On Sunday 17 July 2011 12:49 AM, David Gobbi wrote:
> Hi Prabhu,
>
> I've merged a patch into the git master that uses names like these:
>
> vtkSparseArray_IdE ->  vtkTypedArray_IdE ->  vtkArray
>
> Templated names use an underscore, followed by a template parameter
> list that is mangled according to the gcc ABI (regardless of the
> compiler that is actually used).  So now instantiating a class like
> this will work:
>
> a = vtkSparseArray_IdE()
>
> but, in general, the following method for instantiating templates is preferred:
>
> a = vtkSparseArray['float64']()
>
> You can test the change by fetching the master and then merging my commit:
> git fetch origin master
> git merge 9f25761dd9f93d1eabedc3f2f84023235e7ba69f

Terrific, my walking the hierarchy now works perfectly.  The new release 
breaks some things but I'll have to fix those in my code.

Thanks for the quick fix!

Regards,
Prabhu



More information about the vtk-developers mailing list