[vtkusers] C++ introspection (was raw buffer access in Tcl)
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Tue Jun 17 04:35:42 EDT 2003
> >From what I can understand of this, you'll have to store the entire
> VTK API in XML files. Thats a lot of data! John generates new
> classes using VTK's wrapper generation code. Atleast that way the
> data is part of your API but note that to do this your libraries will
> be huge. Compare this to the 2500 odd lines of code it takes to do
> all this via Python (including GUI and pickling).
Quite true, the dll's that bind rpd to vtk are similar in size to
vtkCommon.tcl vtkGraphics.tcl etc etc and it's something I have a solution
to. The use of XML files to store all member info is no problem, they may be
big, but in the grand scheme of things it's small potatoes compared to all
the other data we work with, so I'll probably (if version 3 ever happens)
make RPD create an XML or similar data layer and then dynamically create the
RPD gui wrappers at run-time. This actually solves a few other issues at the
same time (but I shan't go into them here) - though the generation of the
C++ classes does have it's merits too.
JB
More information about the vtkusers
mailing list