[Insight-developers] problem with an itk filter plugin mechanism....

Jean-Baptiste Fasquel Jean-Baptiste.Fasquel at ircad.u-strasbg.fr
Mon Sep 20 09:46:31 EDT 2004


Hi,

I am currently developping a plugin mechanism for integrating
dynamically itk filters at run-time.

For this, I define a abstract class interface from which each specific
itk plugins will inheritate. An inheritated class is assumed to be
loaded using a factory (i.e. a function of creation).

I use the wxwidget dynamic library loader : the program compiles without
any problem. Some of the functions of the lib are correctly called and
executed (for example : setinput(), getoutput(), getclassname(),..)... 

Unfortunately, when I integrate this plugin within a basic pipeline and
trigger the processing using "update", a "segmentation fault" occurs (it
seems that the input of the itk filter from the plugin is disconnected
although it has been initially correctly connected)... 

has someone any idea about the reason of this problem (solution ?) ?
has anyone tried to developp such a plugin mechanism (unfortunately,
volview is not open source!!!) ? If yes, what would be the methodology ?

Best regards.
Jean-Baptiste.
-- 
----------------------------------------------------------------------
 Dr. Jean-Baptiste Fasquel    || Jean-Baptiste.Fasquel at ircad.u-strasbg.fr 
 Image Processing Researcher  || http://www.virtual-surg.com/
 IRCAD/EITS/VIRTUALS          || http://www.ircad.com/
 1, Place de l'Hôpital        || Phone : +33 (0)3.88.11.90.79
 F67091 Strasbourg            || Fax   : +33 (0)3.88.11.90.99
----------------------------------------------------------------------



More information about the Insight-developers mailing list