<div dir="ltr">Hi J,<div><br></div><div>My WrapVTK project uses the VTK wrapper machinery to create an XML file for each of the VTK classes, the process only takes a couple minutes.  It can be found here:</div><div><br></div><div><a href="https://github.com/dgobbi/WrapVTK" target="_blank">http://github.com/dgobbi/WrapV<wbr>TK</a><br></div><div><br></div><div> - David</div><div><br></div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 4, 2016 at 8:35 PM, JTK <span dir="ltr"><<a href="mailto:jetmonk@gmail.com" target="_blank">jetmonk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Hello,</div><div><br></div><div>I’m trying to make VTK usable from the common lisp language using the Common Lisp CFFI [1] package, translating C++ methods/classes into CLOS methods/classes.</div><div><br></div><div>I understand that VTK supports internal automated ways of doing this (used for Python and TCL glue code generation), but these are a bit excessive for my purposes (and specialized).  Other methods like SWIG seem to choke on VTK code - maybe it’s all the macros? Instead, I’ve written a general package for wrapping C++ methods and classes into Lisp to let me hand-wrap VTK classes.</div><div><br></div><div>Is there a machine readable list of the C++ class/method hierarchy available?</div><div><br></div><div>Something like:</div><div><br></div><div><font face="Courier">{class: “vtkCylinderSource”</font></div><div><font face="Courier"> parents: {“vtkPolyDataAlgorithm”}</font></div><div><font face="Courier"> methods: {{method: SetHeight </font></div><div><font face="Courier">            returntype: void</font></div><div><font face="Courier">            arguments: {{“height” “double”}}}</font></div><div><font face="Courier">           }</font></div><div><font face="Courier">}</font></div><div><font face="Courier"><br></font></div><div><font face="Courier"><br></font></div><div>Or an equivalent in XML.  Or maybe simplified macro-less C++ definitions that I could parse?</div><div><br></div><div>Such a list of methods seems to exist implicitly for the documentation, but it isn’t machine readable. Is there a machine readable one, or is there an easy way to make it?</div><div><br></div><div>Thanks for any tips,</div><div>J.Klein</div><div><br></div><div><br></div><div><br></div><div>[1] cffi: <a href="https://common-lisp.net/project/cffi/" target="_blank">https://common-lisp.net/<wbr>project/cffi/</a></div></div></blockquote></div><br></div></div>