8 #ifndef __FWITKIO_IMAGEIOFACTORYREGISTRAR_HXX__ 9 #define __FWITKIO_IMAGEIOFACTORYREGISTRAR_HXX__ 11 #include <itkObjectFactoryBase.h> 22 template<
class ConcreteImageIOFactory >
28 ::itk::ObjectFactoryBase::RegisterFactory( ConcreteImageIOFactory::New() );
38 #define REGISTER_IMAGEIOFACTORY( ConcreteImageIOFactory ) static ::fwItkIO::ImageIOFactoryRegistrar< \ 39 ConcreteImageIOFactory > registrar; 41 #endif //__FWITKIO_IMAGEIOFACTORYREGISTRAR_HXX__ The namespace fwItkIO contains reader, writer and helper for itk image.
The purpose of this class is to automatically register a Concrete ImageIOFactory in the factory datab...