[vtk-developers] Modularization, Context2D and Tcl

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Mon Mar 26 16:25:31 EDT 2012


Is the code used in the book available in a repo ? May be it would make
sens to publish the code and have it tested against both the latest stable
VTK and the master. From there it should be "possible" to regenerate the
book and consider the published code tested :)

And as a side note, interestingly, if on github.com, you search for "Tcl"
and "Python", you get respectively

  Tcl:             277 repositories,     225162 souces
  Python: 24133 repositories,   2967990 sources

Jc

On Mon, Mar 26, 2012 at 3:20 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

> On Mon, Mar 26, 2012 at 3:08 PM, Will Schroeder <
> will.schroeder at kitware.com> wrote:
>
>> I have no philosophical issue with removing TCL. Please note however that
>> somebody is going to have to do a lot of work to rewrite two VTK books
>> (textbook and user's guide) not to mention a hell of a lot of examples.
>> Aashish are you volunteering?
>
>
> Ahh..I completely forgot about books (which tells me that its being long
> time since I read these books), TCL tests and examples are helpful but not
> sure how much they are helping others. I can volunteer  myself if needed,
> but you have a very good point.
>
>>
>> W
>>
>>
>> On Mon, Mar 26, 2012 at 3:04 PM, Aashish Chaudhary <
>> aashish.chaudhary at kitware.com> wrote:
>>
>>> I know at least one person (Bill, cc'd) using  TCL wrapping
>>> but recently he switched to Python (not completely though).  My personal
>>> vote is +1 to remove TCL support.
>>>
>>>
>>>  On Mon, Mar 26, 2012 at 3:00 PM, Biddiscombe, John A. <biddisco at cscs.ch
>>> > wrote:
>>>
>>>> +1 for dropping TCL support :)
>>>>
>>>> -----Original Message-----
>>>> From: vtk-developers-bounces at vtk.org [mailto:
>>>> vtk-developers-bounces at vtk.org] On Behalf Of Marcus D. Hanwell
>>>> Sent: 26 March 2012 17:50
>>>> To: Jean-Christophe Fillion-Robin
>>>> Cc: VTK Developers
>>>> Subject: Re: [vtk-developers] Modularization, Context2D and Tcl
>>>>
>>>> So, for now I have applied a mapping of numerals to Roman numerals, and
>>>> that works well. The TCL objects have the 2 replaced by II, everything else
>>>> remains as is. This is a possible option too, although I am not
>>>> particularly tied to the name.
>>>>
>>>> None of these classes were ever wrapped in Tcl or Java as we failed to
>>>> add the handwritten code to make them part of those wrapped imports.
>>>> This is not automated, but it does beg the question of how many Tcl
>>>> users are out there and if they are largely supporting legacy Tcl scripts
>>>> and not looking at new API.
>>>>
>>>> Marcus
>>>>
>>>> On Sun, Mar 25, 2012 at 11:19 PM, Marcus D. Hanwell <
>>>> marcus.hanwell at kitware.com> wrote:
>>>> > That was my other thought, although at this stage the 3D stuff is so
>>>> > new and small it hardly seems worth it. It also looks ugly to me, but
>>>> > I could learn to live with it. As a policy it looks like we must only
>>>> > allow letters a-z to guarantee it will work everywhere (or do some
>>>> > weird transform for Tcl).
>>>> >
>>>> > On Sun, Mar 25, 2012 at 11:11 PM, Jean-Christophe Fillion-Robin
>>>> > <jchris.fillionr at kitware.com> wrote:
>>>> >> Good point.
>>>> >> On the other want if we still want to maintain the difference, what
>>>> >> about "ContextThreeD" and "ContextTwoD" ?
>>>> >>
>>>> >> Jc
>>>> >>
>>>> >> On Sun, Mar 25, 2012 at 10:58 PM, Marcus D. Hanwell
>>>> >> <marcus.hanwell at kitware.com> wrote:
>>>> >>>
>>>> >>> Hi,
>>>> >>>
>>>> >>> Tcl has been an adventure. It appears that Tcl modules are not
>>>> >>> allowed to have numbers in them, and so Rendering/Context2D and
>>>> >>> Views/Context2D will have to change. Perhaps their names can simply
>>>> >>> be Context, and that would remove the oddness that the 2D context
>>>> >>> modules have some 3D rendering code in there too.
>>>> >>>
>>>> >>> Marcus
>>>> >>> _______________________________________________
>>>> >>> 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
>>>> >>>
>>>> >>
>>>> >>
>>>> >>
>>>> >> --
>>>> >> +1 919 869 8849
>>>> >>
>>>> _______________________________________________
>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> | Aashish Chaudhary
>>> | R&D Engineer
>>> | Kitware Inc.
>>> | www.kitware.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
>>>
>>>
>>>
>>
>>
>> --
>> 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
>>
>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.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
>
>
>


-- 
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120326/fade7f88/attachment.html>


More information about the vtk-developers mailing list