[VTK ARB] VTK 6

Berk Geveci berk.geveci at kitware.com
Mon Jun 20 11:18:53 EDT 2011


Based on Steve's suggestion, I'd like to add the following backwards
incompatible change to VTK's Python wrapping for VTK 6. See David's
e-mail below.

Jeff: would you mind adding this to the agenda?

-berk

The way the patch works is by disabling Register() and UnRegister() for
any object generated by NewInstance() etc.  For other objects, the
Register/UnRegister methods work as before.  That was the compromise
that I reached between backwards compatibility and new functionality.

Chopping those methods completely would be the best, this could be
done for the VTK 6 release.

As for handling all method that generate new objects, I had a brief on-list
discussion about this with David Cole.  I could modify the VTK wrappers to
understand attribute-based hints similar to mummy/ActiVis:

iwhCounted vtkObject *vtkObject::GeneratorMethod();

The "iwhCounted" or something similarly named would be an attribute
hint we would add to the header files to indicate object generation methods.
Other attribute hints could eventually replace the Wrapping/hints file.

 - David

On Thu, Jun 9, 2011 at 11:01 AM, Steve Pieper <pieper at ibility.net> wrote:
> I think a discussion of vtk version 6 would be good.  With the removal
> of vtk4 compatibility, all developers/users/customers will need to
> port their code so this is a chance to consider other incompatible
> improvements as well.  I'm not suggesting we go wild and change
> everything, but it's better to let all the shoes drop at the same
> time.
>
> -Steve
>
> On Thu, Jun 9, 2011 at 10:56 AM, Jeff Baumes <jeff.baumes at kitware.com> wrote:
>> So far 6 can come, 2 can't (Stephane and Bill). Let's go ahead and have the
>> meeting 9am EDT Tuesday June 28, and we'll schedule the next one within a
>> few months and hopefully include those who can't make it. I'll try a
>> calendar invitation this time that will hopefully work with whatever
>> calendar system you use. Any other topics for discussion other than VTK
>> modularization update?
>> On Thu, Jun 9, 2011 at 6:33 AM, Paolo Quadrani <p.quadrani at cineca.it> wrote:
>>>
>>> Ok also for me.
>>>
>>> Paolo
>>>
>>> Il 09/06/2011 1.58, Andrew Maclean ha scritto:
>>>
>>> Works for me. My local time will be Tuesday, 28 June 2011 at 11:00:00 PM
>>> ... perfect.
>>> Regards
>>>    Andrew
>>>
>>>
>>> On Thu, Jun 9, 2011 at 1:00 AM, Jeff Baumes <jeff.baumes at kitware.com>
>>> wrote:
>>>>
>>>> Yes, let's set up a time to meet. We did an afternoon last time so let's
>>>> try a morning. Will 9am EDT Tuesday June 28 work for people?
>>>> Jeff
>>>>
>>>> On Wed, Jun 8, 2011 at 8:47 AM, Will Schroeder
>>>> <will.schroeder at kitware.com> wrote:
>>>>>
>>>>> Excellent idea Andrew, it's been too long. Jeff let's talk with Berk and
>>>>> Marcus today about setting something up.
>>>>> W
>>>>>
>>>>> On Wed, Jun 8, 2011 at 8:42 AM, Andrew Maclean
>>>>> <andrew.amaclean at gmail.com> wrote:
>>>>>>
>>>>>> Hi Folks,
>>>>>>   Firstly please note that I am not requesting a meeting unless there
>>>>>> are some issues that need to be discussed.
>>>>>> However I am wondering if is it possible to have a short summary of
>>>>>> progress with respect to the modularisation of VTK. I know Berk and Marcus
>>>>>> were doing a lot of work in this area and have seen some of their work in
>>>>>> the newsgroups.
>>>>>> Regards
>>>>>>    Andrew
>>>>>>
>>>>>> --
>>>>>> ___________________________________________
>>>>>> Andrew J. P. Maclean
>>>>>> Australian Centre for Field Robotics (ACFR)
>>>>>> The Rose Street Building J04
>>>>>> The University of Sydney  2006  NSW
>>>>>> AUSTRALIA
>>>>>> Ph: +61 2 9351 3283
>>>>>> Fax: +61 2 9351 7474
>>>>>> URL: http://www.acfr.usyd.edu.au/
>>>>>> ___________________________________________
>>>>>>
>>>>>> _______________________________________________
>>>>>> Arb mailing list
>>>>>> Arb at vtk.org
>>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> William J. Schroeder, PhD
>>>>> Kitware, Inc.
>>>>> 28 Corporate Drive
>>>>> Clifton Park, NY 12065
>>>>> will.schroeder at kitware.com
>>>>> http://www.kitware.com
>>>>> (518) 881-4902
>>>>>
>>>>> _______________________________________________
>>>>> Arb mailing list
>>>>> Arb at vtk.org
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Jeff Baumes, Ph.D.
>>>> Technical Lead, Kitware Inc.
>>>> (518) 881-4932
>>>
>>>
>>>
>>> --
>>> ___________________________________________
>>> Andrew J. P. Maclean
>>> Australian Centre for Field Robotics (ACFR)
>>> The Rose Street Building J04
>>> The University of Sydney  2006  NSW
>>> AUSTRALIA
>>> Ph: +61 2 9351 3283
>>> Fax: +61 2 9351 7474
>>> URL: http://www.acfr.usyd.edu.au/
>>> ___________________________________________
>>>
>>> _______________________________________________
>>> Arb mailing list
>>> Arb at vtk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>>>
>>>
>>> --
>>> Paolo Quadrani
>>> SuperComputing Applications and Innovation Department
>>> CINECA - via Magnanelli, 6/3, 40033 Casalecchio di Reno (Bologna) - ITALY
>>> Tel: +39 051 6171501  Fax: +39 051 6132198
>>> www.cineca.it
>>>
>>> _______________________________________________
>>> Arb mailing list
>>> Arb at vtk.org
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>>>
>>
>>
>>
>> --
>> Jeff Baumes, Ph.D.
>> Technical Lead, Kitware Inc.
>> (518) 881-4932
>>
>> _______________________________________________
>> Arb mailing list
>> Arb at vtk.org
>> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>>
>>
> _______________________________________________
> Arb mailing list
> Arb at vtk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/arb
>



More information about the Arb mailing list