Skip to content
dgobbi edited this page Sep 14, 2010 · 7 revisions

The WrapVTK project currently generates XML descriptions of all the VTK classes. For an example of what the XML output looks like, go here.

The XML files have three sections:

  • A header section that includes the class name, documentation, etc.
  • A description of all the class methods, including protected and private methods.
  • A description of all variables that have set/get/add/remove methods.

In the future, I hope to expand the utilities available in WrapVTK so that they can do run-time introspection as well. In particular, I want to generate XML that describes:

  • All inputs/outputs including data types, optionality, multiplicity, etc.
  • Default values of all set/get parameters.

An introspector that can list all parameters and allow them to be set is something I’d also like to do, but it falls into the “pipe dream” category. I’ll probably stop at just getting the default values and dumping them to XML.

Clone this wiki locally