[vtk-developers] Added more operators to the python wrappers

David Gobbi david.gobbi at gmail.com
Mon May 9 11:22:32 EDT 2011


Hi All,

I've added support for the [ ] operator to the python wrappers.
Wrapping of this operator needs a size hint for range checking,
and since no general hinting scheme exists yet, I've just
hard-coded the size hints for the n-way-array helper classes
into the vtkWrap.c source code.

The other operators that have already been wrapped are "<<"
for printing, and "< <= == != >= >" for comparisons.  These
were originally wrapped to support the vtkVariant type.

 - David



More information about the vtk-developers mailing list