[Paraview] Problems with external modules

Berk Geveci berklist at nycap.rr.com
Wed, 03 Mar 2004 14:56:27 -0500


> Is there a way to get a pointer to the vtkPVApplication from the
> ClientServerInterpreter? That way I could write a fake
> vtkBlah_Initialize() and add it to libvtkBlahTCL.

There is but it is not necessarily forward compatible. The ID of
the vtkPVApplication is hard-coded to be 1 in vtkPVProcessModule.
Once you have the ID, you can get the pointer with GetObjectFromID().
This is pretty hackish so don't tell anyone you heard it from me :-)

-- 
Berk Geveci <berklist at nycap.rr.com>