[vtkusers] C++ introspection (was raw buffer access in Tcl)

N Smethurst nick.smethurst at free.fr
Tue Jun 17 14:12:34 EDT 2003


Hi again..

I wondered Is this c++ RPD of John's is available anywhere? I tried 
searching to no avail. I would be interested in taking a look at it if the 
source is available.

Le Mardi 17 Juin 2003 10:35, John Biddiscombe a écrit :
> > >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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq> Follow this link to
> subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list