Medical Imaging Interaction Toolkit  2023.04.00
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 mitkTubeGraphObjectFactory_h
14 #define mitkTubeGraphObjectFactory_h
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  std::string GetFileExtensions() override;
32  mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
33  std::string 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
MITKTUBEGRAPH_EXPORT
#define MITKTUBEGRAPH_EXPORT
Definition: MitkTubeGraphExports.h:15
itk::SmartPointer< Self >
mitkCoreObjectFactory.h
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::TubeGraphObjectFactory
Definition: mitkTubeGraphObjectFactory.h:22
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
MapperSlotId
unsigned int MapperSlotId
Definition: mitkCommon.h:29
mitk::CoreObjectFactoryBase
Definition: mitkCoreObjectFactoryBase.h:37
mitk::CoreObjectFactoryBase::MultimapType
std::multimap< std::string, std::string > MultimapType
Definition: mitkCoreObjectFactoryBase.h:41
MitkTubeGraphExports.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63