[vtkusers] Pipeline introspection
Brian Rowe
briprowe at yahoo.com
Tue Apr 27 17:36:57 EDT 2004
I'm considering writing some code that will be able to analyze the
objects in an arbitrary pipeline at run time. It will then provide
methods that will return any given attribute from an object in the
pipeline. It will also be able to modify those attributes. I intend
this to be a "control" object for a view that will display the pipeline
responsible for a given rendering.
My question is: What's the best way to do this(lol). Currently the
only/best way is to embed the python interpreter, and use it to
"introspect" the pipeline. This seems like quite a large amount of
overhead to enable this feature, but I think, ultimately, it will be
worth it. It will definitely be worth it if there's a less expensive
(c++ native) way of doing it.
If anyone has an insight, I'd be very happy to hear it.
Thanks,
Brian
---
1.79 x 10^12 furlongs per fortnight -- it's not just a good idea, it's
the law!
More information about the vtkusers
mailing list