Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkQuantificationObjectFactory.h
Go to the documentation of this file.
1 #ifndef MITKQUANTIFICATIONOBJECTFACTORY_H
2 #define MITKQUANTIFICATIONOBJECTFACTORY_H
3 
4 
6 
7 namespace mitk {
8 
10 {
11  public:
13  itkFactorylessNewMacro(Self)
14  itkCloneMacro(Self)
15 
17 
18  virtual Mapper::Pointer CreateMapper(mitk::DataNode* node, MapperSlotId slotId) override;
19 
20  virtual void SetDefaultProperties(mitk::DataNode* node) override;
21 
22  virtual const char* GetFileExtensions() override;
23 
25 
26  virtual const char* GetSaveFileExtensions() override;
27 
29 
30 protected:
32  private:
33  void CreateFileExtensionsMap();
34  std::string m_ExternalFileExtensions;
35  std::string m_InternalFileExtensions;
36  std::string m_SaveFileExtensions;
37  MultimapType m_FileExtensionsMap;
38  MultimapType m_SaveFileExtensionsMap;
39 
40  itk::ObjectFactoryBase::Pointer m_NrrdTbssImageIOFactory;
41  itk::ObjectFactoryBase::Pointer m_NrrdTbssRoiImageIOFactory;
42 
43  itk::ObjectFactoryBase::Pointer m_NrrdTbssImageWriterFactory;
44  itk::ObjectFactoryBase::Pointer m_NrrdTbssRoiImageWriterFactory;
45 };
46 
47 }
48 
49 #endif // MITKQUANTIFICATIONOBJECTFACTORY_H
virtual const char * GetSaveFileExtensions() override
itk::SmartPointer< Self > Pointer
virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
DataCollection - Class to facilitate loading/accessing structured data.
mitkClassMacro(QuantificationObjectFactory, CoreObjectFactoryBase) static Pointer New()
virtual const char * GetFileExtensions() override
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
virtual void SetDefaultProperties(mitk::DataNode *node) override
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override