Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkTubeGraphObjectFactory.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 TubeGraphObjectFactory_H_INCLUDED
18 #define TubeGraphObjectFactory_H_INCLUDED
19 
20 #include <MitkTubeGraphExports.h>
21 
22 #include <mitkCoreObjectFactory.h>
23 
24 namespace mitk
25 {
27  {
28  public:
30  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
31 
32  virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
33  virtual void SetDefaultProperties(mitk::DataNode *node) override;
34  virtual const char *GetFileExtensions() override;
35  virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
36  virtual const char *GetSaveFileExtensions() override;
37  virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
38  void RegisterIOFactories();
39 
40  protected:
42 
43  private:
44  void CreateFileExtensionsMap();
45 
46  std::string m_ExternalFileExtensions;
47  std::string m_InternalFileExtensions;
48  std::string m_SaveFileExtensions;
49  MultimapType m_FileExtensionsMap;
50  MultimapType m_SaveFileExtensionsMap;
51  };
52 }
53 
54 #endif
#define MITKTUBEGRAPH_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66