35 static bool alreadyDone =
false;
38 itk::ObjectFactoryBase::RegisterFactory(m_PlanarFigureIOFactory);
39 itk::ObjectFactoryBase::RegisterFactory(m_PlanarFigureWriterFactory);
51 itk::ObjectFactoryBase::UnRegisterFactory(m_PlanarFigureWriterFactory);
52 itk::ObjectFactoryBase::UnRegisterFactory(m_PlanarFigureIOFactory);
60 if (dynamic_cast<PlanarFigure *>(data) != NULL)
65 newMapper->SetDataNode(node);
70 newMapper->SetDataNode(node);
103 return m_FileExtensionsMap;
109 std::string fileExtension;
110 this->CreateFileExtensions(m_SaveFileExtensionsMap, fileExtension);
111 return fileExtension.c_str();
116 return m_SaveFileExtensionsMap;
121 m_FileExtensionsMap.insert(std::pair<std::string, std::string>(
"*.pf",
"Planar Figure Files"));
122 m_SaveFileExtensionsMap.insert(std::pair<std::string, std::string>(
"*.pf",
"Planar Figure Files"));
129 struct RegisterPlanarFigureObjectFactory
Base of all data objects.
static Pointer GetInstance()
DataCollection - Class to facilitate loading/accessing structured data.
FileWriterList m_FileWriters
BaseData * GetData() const
Get the data object (instance of BaseData, e.g., an Image) managed by this DataNode.
void AddProperty(const char *propertyKey, BaseProperty *property, const mitk::BaseRenderer *renderer=nullptr, bool overwrite=false)
Add the property (instance of BaseProperty) if it does not exist (or always ifoverwrite istrue) with ...
unsigned int MapperSlotId
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.