[vtk-developers] VTK_MAJOR_VERSION is no longer #define'ed

Bill Lorensen bill.lorensen at gmail.com
Wed Apr 25 11:58:31 EDT 2012


Stuck, VTK6 is not even released yet.

In the commercial world, good customers try to convert their code
early to new releases. I doubt if they have completely different code
bases for the versions.

Bill

On Wed, Apr 25, 2012 at 11:55 AM, David Cole <david.cole at kitware.com> wrote:
> On Wed, Apr 25, 2012 at 11:47 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
>> David, I disagree.
>>
>> I think these conditionals in the examples serve two purposes:
>>
>> 1) They show the vtk development community the impact on users of API change
>> 2) They will help frustrated customers convert their own code.
>>
>
> 3) They show the people stuck on VTK 5 (for whatever reason) how to
> compile the examples with their VTK...
>
>
>> Bill
>>
>> On Wed, Apr 25, 2012 at 11:41 AM, David Doria <daviddoria at gmail.com> wrote:
>>>> Reading code with conditionals like the above is not a great way
>>>> to learn VTK 5 or VTK 6.
>>>
>>> I definitely agree with this - the conditionals are surely just adding
>>> clutter for new users to sort through. However, I've never had a
>>> better solution support both versions (we wouldn't want to duplicate
>>> the entire wiki into Wiki/VTK/Examples/Cxx5 and Wiki/VTK/Examples/Cxx6
>>> or anything like that) so I didn't see a way around it. My vote would
>>> be to only demonstrate the latest version (now v6) in the examples.
>>>
>>> David
>>
>>
>>
>> --
>> Unpaid intern in BillsBasement at noware dot com
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtk-developers
>>



-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list