Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef __mitkMAPRegistrationWrapperObjectFactory_h
19 #define __mitkMAPRegistrationWrapperObjectFactory_h
20 
21 #include <mitkCoreObjectFactory.h>
23 
24 namespace mitk {
25 
27 {
28  public:
30  itkFactorylessNewMacro(Self);
31  itkCloneMacro(Self);
32 
34 
35  virtual void SetDefaultProperties(mitk::DataNode* node);
36 
40  DEPRECATED(virtual const char* GetFileExtensions());
48  DEPRECATED(virtual const char* GetSaveFileExtensions());
53 
55 
56  protected:
58  private:
59  void CreateFileExtensionsMap();
60  std::string m_ExternalFileExtensions;
61  std::string m_InternalFileExtensions;
62  std::string m_SaveFileExtensions;
63  MultimapType m_FileExtensionsMap;
64  MultimapType m_SaveFileExtensionsMap;
65 
66  itk::ObjectFactoryBase::Pointer m_RegistrationWrapperIOFactory;
67 };
68 
69 }
70 
71 #endif
itk::SmartPointer< Self > Pointer
virtual mitk::Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId)
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap()
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap()
DataCollection - Class to facilitate loading/accessing structured data.
#define DEPRECATED(func)
Definition: mitkCommon.h:183
mitkClassMacro(MAPRegistrationWrapperObjectFactory, CoreObjectFactoryBase)
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66