Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSimulationObjectFactory.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 #ifndef mitkSimulationObjectFactory_h
18 #define mitkSimulationObjectFactory_h
19 
21 #include <MitkSimulationExports.h>
22 
23 namespace mitk
24 {
25  class MITKSIMULATION_EXPORT SimulationObjectFactory : public CoreObjectFactoryBase
26  {
27  public:
29  itkFactorylessNewMacro(Self);
30 
31  Mapper::Pointer CreateMapper(DataNode* node, MapperSlotId slotId) override;
32  const char* GetDescription() const override;
33  const char* GetFileExtensions() override;
34  MultimapType GetFileExtensionsMap() override;
35  const char* GetSaveFileExtensions() override;
36  MultimapType GetSaveFileExtensionsMap() override;
37  void SetDefaultProperties(DataNode* node) override;
38 
39  private:
42  };
43 
44  MITKSIMULATION_EXPORT void RegisterSimulationObjectFactory();
45 }
46 
47 #endif
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
MITKSIMULATION_EXPORT void RegisterSimulationObjectFactory()
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66