28 #ifndef __itkSpatialObjectFactoryBase_h
29 #define __itkSpatialObjectFactoryBase_h
58 itkFactorylessNewMacro(
Self);
72 p->RegisterDefaultSpatialObjects ();
79 const char *overrideClassName,
80 const char *description,
85 description, enableFlag, createFunction);
virtual const char * GetDescription(void) const ITK_OVERRIDE
Light weight base class for most itk classes.
virtual const char * GetITKSourceVersion(void) const ITK_OVERRIDE
static SpatialObjectFactoryBase * m_Factory
void RegisterSpatialObject(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
SpatialObjectFactoryBase()
static void RegisterDefaultSpatialObjects()
ObjectType * GetPointer() const
Create instances of classes using an object factory.
void operator=(const Self &)
SmartPointer< const Self > ConstPointer
ObjectFactoryBase Superclass
void RegisterOverride(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
virtual ~SpatialObjectFactoryBase()
Define API for object creation callback functions.
SmartPointer< Self > Pointer
static SpatialObjectFactoryBase * GetFactory()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
SpatialObjectFactoryBase Self
Create instances of SpatialObjects.