28 #ifndef itkSpatialObjectFactoryBase_h
29 #define itkSpatialObjectFactoryBase_h
59 itkFactorylessNewMacro(
Self);
73 p->RegisterDefaultSpatialObjects ();
80 const char *overrideClassName,
81 const char *description,
86 description, enableFlag, createFunction);
95 void operator=(const
Self &) ITK_DELETE_FUNCTION;
Light weight base class for most itk classes.
void RegisterSpatialObject(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
SpatialObjectFactoryBase()
virtual const char * GetDescription(void) const override
static ITKSpatialObjectExport SpatialObjectFactoryBase * m_Factory
static void RegisterDefaultSpatialObjects()
ObjectType * GetPointer() const
Create instances of classes using an object factory.
SmartPointer< const Self > ConstPointer
#define ITKSpatialObjectExport
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.