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);
Light weight base class for most itk classes.
static SpatialObjectFactoryBase * m_Factory
void RegisterSpatialObject(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
SpatialObjectFactoryBase()
virtual const char * GetDescription(void) const override
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.
virtual const char * GetITKSourceVersion(void) const override
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.