[Insight-developers] Having mysterious problem with ObjectFactories -- HELP!!

Williams, Norman K norman-k-williams at uiowa.edu
Tue Mar 22 15:53:39 EDT 2011


I'm trying to add a new transform file reader/writer in
ITK/Modules/Transform.


Aside from the challenge of writing the class itself, I'm having trouble
with the ObjectFactories.

In ITK/Modules/Transform/itkTransformIOFactory.cxx, I register an instance
of a new factory and all of a sudden the ObjectFactory can no longer
create any of the registered transform classes.

When I try to debug the problem I run into mysterious problems with the
ObjectFactory not being able to create instances of any transform type,
even though I can see them getting registered in
ITK/Modules/Transform/src/itkTransformFactoryBase.cxx.

What is the trick here? How does registering one additional factory screw
up everything?



________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged.  If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited.  Please reply to the sender that you have received the message in error, then delete it.  Thank you.
________________________________


More information about the Insight-developers mailing list