Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
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 (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 #ifndef TubeGraphObjectFactory_H_INCLUDED
14 #define TubeGraphObjectFactory_H_INCLUDED
15 
16 #include <MitkTubeGraphExports.h>
17 
18 #include <mitkCoreObjectFactory.h>
19 
20 namespace mitk
21 {
23  {
24  public:
26  itkFactorylessNewMacro(Self);
27  itkCloneMacro(Self);
28 
29  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
30  void SetDefaultProperties(mitk::DataNode *node) override;
31  const char *GetFileExtensions() override;
32  mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
33  const char *GetSaveFileExtensions() override;
34  mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
35  void RegisterIOFactories();
36 
37  protected:
39 
40  private:
41  void CreateFileExtensionsMap();
42 
43  std::string m_ExternalFileExtensions;
44  std::string m_InternalFileExtensions;
45  std::string m_SaveFileExtensions;
46  MultimapType m_FileExtensionsMap;
47  MultimapType m_SaveFileExtensionsMap;
48  };
49 }
50 
51 #endif
#define MITKTUBEGRAPH_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
unsigned int MapperSlotId
Definition: mitkCommon.h:33
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57