28 #ifndef itkObjectFactory_h 29 #define itkObjectFactory_h 54 template<
typename T >
62 return dynamic_cast< T *
>( ret.
GetPointer() );
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
Create instances of a class.
static T::Pointer Create()
ObjectType * GetPointer() const
Create instances of classes using an object factory.
static LightObject::Pointer CreateInstance(const char *itkclassname)