28 #ifndef itkSpatialObjectFactoryBase_h
29 #define itkSpatialObjectFactoryBase_h
61 itkFactorylessNewMacro(
Self);
75 p->RegisterDefaultSpatialObjects ();
82 const char *overrideClassName,
83 const char *description,
88 description, enableFlag, createFunction);
~SpatialObjectFactoryBase() override
Light weight base class for most itk classes.
ObjectType * GetPointer() const noexcept
void RegisterSpatialObject(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
SpatialObjectFactoryBase()
static ITKSpatialObjectExport SpatialObjectFactoryBase * m_Factory
static void RegisterDefaultSpatialObjects()
Create instances of classes using an object factory.
#define ITKSpatialObjectExport
void RegisterOverride(const char *classOverride, const char *overrideClassName, const char *description, bool enableFlag, CreateObjectFunctionBase *createFunction)
const char * GetITKSourceVersion() const override
const char * GetDescription() const override
Define API for object creation callback functions.
static SpatialObjectFactoryBase * GetFactory()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
Create instances of SpatialObjects.