[vtk-developers] Re: BUG? Abstract classes not "available" under Python

Prabhu Ramachandran prabhu_r at users.sf.net
Thu Jul 7 10:00:20 EDT 2005


>>>>> "Prabhu" == Prabhu Ramachandran <prabhu_r at users.sf.net> writes:

    Prabhu> Hi, With VTK-Python from CVS I notice that abstract
    Prabhu> classes are not made available to the user in the vtk
    Prabhu> namespace.  For example under Python vtk.vtkObjectBase is
    Prabhu> not available.  Earlier one could do this:
[...]
    Prabhu> Can this behavior be changed?  What do the others think?

Since no one seems to have any serious objections I'm going to modify
CMake/vtkWrapPython.cmake to include the abstract classes as done with
earlier VTK versions.

I'm also considering adding weakref support for VTK-Python objects but
will do that later.

cheers,
prabhu



More information about the vtk-developers mailing list