19 #include "itkCreateObjectFunction.h"
20 #include "itkVersion.h"
27 class CreatePlanarFigureWriter :
public itk::CreateObjectFunctionBase
31 typedef CreatePlanarFigureWriter Self;
35 itkFactorylessNewMacro(Self) LightObject::Pointer CreateObject()
override
39 return p.GetPointer();
43 CreatePlanarFigureWriter() {}
44 ~CreatePlanarFigureWriter() {}
46 CreatePlanarFigureWriter(
const Self &);
47 void operator=(
const Self &);
52 this->RegisterOverride(
"IOWriter",
54 "PlanarFigure xml Writer",
68 if (GetInstance()->GetReferenceCount() == 1)
70 ObjectFactoryBase::RegisterFactory(GetInstance().GetPointer());
76 ObjectFactoryBase::UnRegisterFactory(GetInstance().GetPointer());
79 const char *PlanarFigureWriterFactory::GetITKSourceVersion()
const {
return ITK_SOURCE_VERSION; }
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.