[vtkusers] [vtk-developers] Is there any documentation for VTK wrapping?

David Thompson dcthomp at sandia.gov
Mon May 4 16:17:57 EDT 2009


> Does the python (and other lang) wrapping depend on swig?
No, the wrapping in VTK is a parser written in C with the help of lex
and yacc. It was written before SWIG existed, as I recall.

	David

> On Mon, May 4, 2009 at 11:27 AM, pat marion <pat.marion at kitware.com>
> wrote:
>         Another helpful detail- you can tell the wrapper to ignore
>         certain
>         files by using this in your CMakeLists.txt:
>         
>         SET_SOURCE_FILES_PROPERTIES(
>          vtkMyUnwrappableClass.cxx
>          WRAP_EXCLUDE
>         )
>         
>         Pat
>         
>         
>         On Mon, May 4, 2009 at 1:22 PM, David E DeMarle
>         <dave.demarle at kitware.com> wrote:
>         > A search on markmail turned up a fairly recent discussion of
>         the topic.
>         >
>         > http://vtk.markmail.org/search/?q=wrapping#query:wrapping
>         +page:1+mid:plwydwprhlreh24s+state:results
>         >
>         > It doesn't look the the wiki page was ever moved over to
>         vtk.org. I
>         > will do that now.
>         >
>         > David E DeMarle
>         > Kitware, Inc.
>         > R&D Engineer
>         > 28 Corporate Drive
>         > Clifton Park, NY 12065-8662
>         > Phone: 518-371-3971 x109
>         >
>         >
>         >
>         > On Mon, May 4, 2009 at 1:12 PM, kent williams
>         <nkwmailinglists at gmail.com> wrote:
>         >> Maybe I'm just missing the tree I need for the forest, but
>         I went
>         >> looking for documentation on VTK Wrapping, and came up
>         empty.
>         >>
>         >> In fact, in the top ten hits for google search on "vtk
>         wrapping"  my
>         >> own posts to the VTK-Users come up, the ones where I claim
>         that VTK
>         >> wrapping are driving me insane.
>         >>
>         >> I've acquired the bare minimum knowledge necessary to
>         survive VTK
>         >> wrapping for KWWidgets applications --- use //BTX and //ETX
>         to keep
>         >> the wrapping parser from losing its mind, always name
>         classes with a
>         >> 'vtk' prefix, limit argument types to built-in scalar types
>         and char *
>         >> -- but is VTK wrapping actually documented anywhere?
>         >> _______________________________________________
>         >> 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
>         >
>         >
>         _______________________________________________
>         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
>         
>         
> 





More information about the vtkusers mailing list