[vtk-developers] Wrapping templated types

David Gobbi david.gobbi at gmail.com
Thu May 19 10:02:26 EDT 2011


Hi All,

I've put an experimental branch on Gerrit that wraps templated
types in python:
http://review.source.kitware.com/#change,1680

The templated types that it wraps are vtkVector, vtkRect, and
vtkColor.  It allows these (and their subclasses) to be used as
interface types in the Charts classes.

As an aside, I noticed some issues with these classes:
- vtkRect should have its own header file
- they do not define "<<" operators for printability
- they are used from Rendering, but their headers are in Charts

 - David



More information about the vtk-developers mailing list