Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
mitkMAPRegistrationWrapperObjectFactory.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 
14 #ifndef __mitkMAPRegistrationWrapperObjectFactory_h
15 #define __mitkMAPRegistrationWrapperObjectFactory_h
16 
17 #include <mitkCoreObjectFactory.h>
19 
20 namespace mitk {
21 
23 {
24  public:
26  itkFactorylessNewMacro(Self);
27  itkCloneMacro(Self);
28 
30 
31  void SetDefaultProperties(mitk::DataNode* node) override;
32 
36  DEPRECATED(virtual const char* GetFileExtensions());
44  DEPRECATED(virtual const char* GetSaveFileExtensions());
49 
51 
52  protected:
54  private:
55  void CreateFileExtensionsMap();
56  std::string m_ExternalFileExtensions;
57  std::string m_InternalFileExtensions;
58  std::string m_SaveFileExtensions;
59  MultimapType m_FileExtensionsMap;
60  MultimapType m_SaveFileExtensionsMap;
61 
62  itk::ObjectFactoryBase::Pointer m_RegistrationWrapperIOFactory;
63 };
64 
65 }
66 
67 #endif
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap()
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap()
DataCollection - Class to facilitate loading/accessing structured data.
#define DEPRECATED(func)
Definition: mitkCommon.h:179
mitk::Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
mitkClassMacro(MAPRegistrationWrapperObjectFactory, CoreObjectFactoryBase)
unsigned int MapperSlotId
Definition: mitkCommon.h:33
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57