[vtk-developers] vtkChemistry status and python bindings

David Gobbi david.gobbi at gmail.com
Wed Feb 15 16:09:54 EST 2012


Hmm... it looks like no-one has set up the CMake scripts to wrap the
Chemistry directory.  Or at least not in any way that works with VTK
5.9.  I'll leave it to Marcus and David Lonie to sort that out.

  - David


On Wed, Feb 15, 2012 at 1:46 PM, David Gobbi <david.gobbi at gmail.com> wrote:
> 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