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

Wu Ruoyun MRYWu at ntu.edu.sg
Mon Jun 16 20:48:14 EDT 2003


Hi

Is there anyone thinking about using Java reflaction mechanism to get the method declarations from a class? If this approach can be done, a pipeline editor may be created in Java, without using XML to store class information.

Just a suggestion. Hope it helps.

Best Wishes!
Ruoyun

-----Original Message-----
From: John Biddiscombe [mailto:john.biddiscombe at mirada-solutions.com]
Sent: Monday, June 16, 2003 5:23 PM
To: Prabhu Ramachandran; John Biddiscombe
Cc: David.Pont at ForestResearch.co.nz; vtkusers
Subject: RE: [vtkusers] C++ introspection (was raw buffer access in Tcl)


> Cool!  So the question is how do you handle the introspection?  Save
> the data externally and use that or some special Marquis de Sade
> magic? ;-)

If you look at vtkWrapJava, vtkWrapTcl, vtkWrapXXX, I've created a vtkWrapGUI set of stuff that parses the vtk source and generates a C++ class for each vtk class. The wrapped class inherits from my rpd BaseControl which is a generic window style control and each vtk subclass creates radiobuttons editboxes etc for each set/get type method. The the RPD framework loads these in the form of vtkCommonRPD.dll, vtkGraphicsRPD.dll etc etc

> BTW, does RPD run on *nix (or Linux) or is it Windows only?

At the moment it's windows only, but I have a working wxWindows compiled version of quite a large portion of it. I have been using Borland C++Builder for many years and have recently been getting fed up with it and decided to experiment with wxWindows. If there was a demand for it, then a wx version might be released. But I'd need to charge a small £ for RPD to fund myself to work on it - previous experience shows that RPD will not be sucessful and so it's not likely to happen.

ttfn

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