[vtk-developers] vtkChemistry status and python bindings

David Gobbi david.gobbi at gmail.com
Wed Feb 15 14:21:35 EST 2012


On Wed, Feb 15, 2012 at 10:50 AM, Marcus D. Hanwell
<marcus.hanwell at kitware.com> wrote:
> On Wed, Feb 15, 2012 at 12:04 PM, David Gobbi <david.gobbi at gmail.com> wrote:
>
>> For example, vtkVariant.h has the following line:
>>
>> VTK_COMMON_EXPORT ostream& operator << ( ostream& os, const vtkVariant& val );
>>
>> Of course, the absence of that operator should not cause a wrapped
>> special type to crash, so I'm not quite sure what is going on.
>
> That is odd, thanks for clarifying that. We could add something useful
> there if it helped.

Adding that operator should fix the crash (but if I fixed the Repr
code in PyVTKSpecialObject.cxx, it would also fix the crash ;).

Please review the new wrapper code here:

http://review.source.kitware.com/#/c/4270/

 - David



More information about the vtk-developers mailing list