Not to be too vocal in opposition, but removing TCL wrapping is a real backwards compatibility issue. There is a lot of code, some currently in use at Kitware, that use Tcl/Tk wrapping. We can make a clean break, but we shouldn't do it under the premise that it is a consequence-free decision.<div>
<br></div><div>- Wes<br><br><div class="gmail_quote">On Tue, Mar 27, 2012 at 9:15 AM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The code from the book is at:<br>
<a href="http://vtk.org/files/VTKTextbook" target="_blank">http://vtk.org/files/VTKTextbook</a><br>
<br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909">518-881-4909</a><br>
<br>
<br>
<br>
On Mon, Mar 26, 2012 at 4:25 PM, Jean-Christophe Fillion-Robin<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>> wrote:<br>
><br>
> Is the code used in the book available in a repo ? May be it would make sens<br>
> to publish the code and have it tested against both the latest stable VTK<br>
> and the master. From there it should be "possible" to regenerate the book<br>
> and consider the published code tested :)<br>
><br>
> And as a side note, interestingly, if on <a href="http://github.com" target="_blank">github.com</a>, you search for "Tcl"<br>
> and "Python", you get respectively<br>
><br>
> Tcl: 277 repositories, 225162 souces<br>
> Python: 24133 repositories, 2967990 sources<br>
><br>
> Jc<br>
><br>
><br>
> On Mon, Mar 26, 2012 at 3:20 PM, Aashish Chaudhary<br>
> <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>> wrote:<br>
>><br>
>> On Mon, Mar 26, 2012 at 3:08 PM, Will Schroeder<br>
>> <<a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a>> wrote:<br>
>>><br>
>>> I have no philosophical issue with removing TCL. Please note however that<br>
>>> somebody is going to have to do a lot of work to rewrite two VTK books<br>
>>> (textbook and user's guide) not to mention a hell of a lot of examples.<br>
>>> Aashish are you volunteering?<br>
>><br>
>><br>
>> Ahh..I completely forgot about books (which tells me that its being long<br>
>> time since I read these books), TCL tests and examples are helpful but not<br>
>> sure how much they are helping others. I can volunteer myself if needed,<br>
>> but you have a very good point.<br>
>>><br>
>>><br>
>>> W<br>
>>><br>
>>><br>
>>> On Mon, Mar 26, 2012 at 3:04 PM, Aashish Chaudhary<br>
>>> <<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>> wrote:<br>
>>>><br>
>>>> I know at least one person (Bill, cc'd) using TCL wrapping<br>
>>>> but recently he switched to Python (not completely though). My personal<br>
>>>> vote is +1 to remove TCL support.<br>
>>>><br>
>>>><br>
>>>> On Mon, Mar 26, 2012 at 3:00 PM, Biddiscombe, John A. <<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> +1 for dropping TCL support :)<br>
>>>>><br>
>>>>> -----Original Message-----<br>
>>>>> From: <a href="mailto:vtk-developers-bounces@vtk.org">vtk-developers-bounces@vtk.org</a><br>
>>>>> [mailto:<a href="mailto:vtk-developers-bounces@vtk.org">vtk-developers-bounces@vtk.org</a>] On Behalf Of Marcus D. Hanwell<br>
>>>>> Sent: 26 March 2012 17:50<br>
>>>>> To: Jean-Christophe Fillion-Robin<br>
>>>>> Cc: VTK Developers<br>
>>>>> Subject: Re: [vtk-developers] Modularization, Context2D and Tcl<br>
>>>>><br>
>>>>> So, for now I have applied a mapping of numerals to Roman numerals, and<br>
>>>>> that works well. The TCL objects have the 2 replaced by II, everything else<br>
>>>>> remains as is. This is a possible option too, although I am not particularly<br>
>>>>> tied to the name.<br>
>>>>><br>
>>>>> None of these classes were ever wrapped in Tcl or Java as we failed to<br>
>>>>> add the handwritten code to make them part of those wrapped imports.<br>
>>>>> This is not automated, but it does beg the question of how many Tcl<br>
>>>>> users are out there and if they are largely supporting legacy Tcl scripts<br>
>>>>> and not looking at new API.<br>
>>>>><br>
>>>>> Marcus<br>
>>>>><br>
>>>>> On Sun, Mar 25, 2012 at 11:19 PM, Marcus D. Hanwell<br>
>>>>> <<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
>>>>> > That was my other thought, although at this stage the 3D stuff is so<br>
>>>>> > new and small it hardly seems worth it. It also looks ugly to me, but<br>
>>>>> > I could learn to live with it. As a policy it looks like we must only<br>
>>>>> > allow letters a-z to guarantee it will work everywhere (or do some<br>
>>>>> > weird transform for Tcl).<br>
>>>>> ><br>
>>>>> > On Sun, Mar 25, 2012 at 11:11 PM, Jean-Christophe Fillion-Robin<br>
>>>>> > <<a href="mailto:jchris.fillionr@kitware.com">jchris.fillionr@kitware.com</a>> wrote:<br>
>>>>> >> Good point.<br>
>>>>> >> On the other want if we still want to maintain the difference, what<br>
>>>>> >> about "ContextThreeD" and "ContextTwoD" ?<br>
>>>>> >><br>
>>>>> >> Jc<br>
>>>>> >><br>
>>>>> >> On Sun, Mar 25, 2012 at 10:58 PM, Marcus D. Hanwell<br>
>>>>> >> <<a href="mailto:marcus.hanwell@kitware.com">marcus.hanwell@kitware.com</a>> wrote:<br>
>>>>> >>><br>
>>>>> >>> Hi,<br>
>>>>> >>><br>
>>>>> >>> Tcl has been an adventure. It appears that Tcl modules are not<br>
>>>>> >>> allowed to have numbers in them, and so Rendering/Context2D and<br>
>>>>> >>> Views/Context2D will have to change. Perhaps their names can simply<br>
>>>>> >>> be Context, and that would remove the oddness that the 2D context<br>
>>>>> >>> modules have some 3D rendering code in there too.<br>
>>>>> >>><br>
>>>>> >>> Marcus<br>
>>>>> >>> _______________________________________________<br>
>>>>> >>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>> >>><br>
>>>>> >>> Visit other Kitware open-source projects at<br>
>>>>> >>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>> >>><br>
>>>>> >>> Follow this link to subscribe/unsubscribe:<br>
>>>>> >>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>>> >>><br>
>>>>> >><br>
>>>>> >><br>
>>>>> >><br>
>>>>> >> --<br>
>>>>> >> <a href="tel:%2B1%20919%20869%208849" value="+19198698849">+1 919 869 8849</a><br>
>>>>> >><br>
>>>>> _______________________________________________<br>
>>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>><br>
>>>>> Visit other Kitware open-source projects at<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>><br>
>>>>> Follow this link to subscribe/unsubscribe:<br>
>>>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>>><br>
>>>>> Visit other Kitware open-source projects at<br>
>>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>>><br>
>>>>> Follow this link to subscribe/unsubscribe:<br>
>>>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>>><br>
>>>><br>
>>>><br>
>>>><br>
>>>> --<br>
>>>> | Aashish Chaudhary<br>
>>>> | R&D Engineer<br>
>>>> | Kitware Inc.<br>
>>>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> Visit other Kitware open-source projects at<br>
>>>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> William J. Schroeder, PhD<br>
>>> Kitware, Inc.<br>
>>> 28 Corporate Drive<br>
>>> Clifton Park, NY 12065<br>
>>> <a href="mailto:will.schroeder@kitware.com">will.schroeder@kitware.com</a><br>
>>> <a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
>>> <a href="tel:%28518%29%20881-4902" value="+15188814902">(518) 881-4902</a><br>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> | Aashish Chaudhary<br>
>> | R&D Engineer<br>
>> | Kitware Inc.<br>
>> | <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> <a href="tel:%2B1%20919%20869%208849" value="+19198698849">+1 919 869 8849</a><br>
><br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Wesley D. Turner, Ph.D.<br>Kitware, Inc.<br>Technical Leader<br>28 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4920<br>
</div>