[vtkusers] is a machine readable list of classes and methods available?
JTK
jetmonk at gmail.com
Tue Oct 4 22:35:51 EDT 2016
Hello,
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.
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.
Is there a machine readable list of the C++ class/method hierarchy available?
Something like:
{class: “vtkCylinderSource”
parents: {“vtkPolyDataAlgorithm”}
methods: {{method: SetHeight
returntype: void
arguments: {{“height” “double”}}}
}
}
Or an equivalent in XML. Or maybe simplified macro-less C++ definitions that I could parse?
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?
Thanks for any tips,
J.Klein
[1] cffi: https://common-lisp.net/project/cffi/ <https://common-lisp.net/project/cffi/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161004/c16c05d9/attachment.html>
More information about the vtkusers
mailing list