[vtk-developers] vtkChemistry status and python bindings
David Gobbi
david.gobbi at gmail.com
Wed Feb 15 15:46:13 EST 2012
Are you sure you have VTK_USE_CHEMISTRY=ON in CMakeCache.txt?
On Wed, Feb 15, 2012 at 1:36 PM, Borini, Stefano
<s.borini at jacobs-university.de> wrote:
>
> I think we lost the vtkMoleculeMapper in the bindings. It's no longer reachable from python.
>
>
>
> On Feb 15, 2012, at 8:21 PM, David Gobbi wrote:
>
>> 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