[vtk-developers] Problem with Python wrappers
David Gobbi
david.gobbi at gmail.com
Sat Jul 16 15:19:07 EDT 2011
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
- David
More information about the vtk-developers
mailing list