[vtk-developers] Wrapping vtkVariant and other special types in Python

David Gobbi david.gobbi at gmail.com
Thu May 6 09:21:00 EDT 2010


The changes to the wrappers are almost done at
git at github.com:dgobbi/VTK.git, maybe tomorrow I'll as the users list
to start trying them out. Highlights are:

* The vtkParse front-end has slots for 127 type constants now
* The Python and Tcl wrappers have proper support for vtkStdString
* The Python wrappers support vtkUnicodeString via python's unicode objects
* Add constructor vtkVariant(const vtkVariant &v, unsigned int type)

Items remaining on the to-do list:
* Fix vtkStdString in the Java wrappers
* Remove the BTX/ETX from around vtkStdString and vtkUnicodeString in
header files
* Split the vtkPythonUtil.cxx monster-file into smaller files

Potential items on my list:
* Add comparison operator support to python's vtkVariant, so that
people can make a python list of variants and sort it



More information about the vtk-developers mailing list