28 #ifndef itkObjectFactory_h
29 #define itkObjectFactory_h
54 template<
typename T >
62 return dynamic_cast< T *
>( ret.
GetPointer() );
ObjectType * GetPointer() const noexcept
Create instances of a class.
static T::Pointer Create()
Create instances of classes using an object factory.
static LightObject::Pointer CreateInstance(const char *itkclassname)