Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkSegmentationObjectFactory.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 SEGMENTATIONOBJECTFACTORY_H_INCLUDED
18 #define SEGMENTATIONOBJECTFACTORY_H_INCLUDED
19 
22 
23 namespace mitk
24 {
26  {
27  public:
29  itkFactorylessNewMacro(Self) itkCloneMacro(Self) virtual Mapper::Pointer
30  CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
31  virtual void SetDefaultProperties(mitk::DataNode *node) override;
32  virtual const char *GetFileExtensions() override;
33  virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
34  virtual const char *GetSaveFileExtensions() override;
35  virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
36  void RegisterIOFactories();
37 
38  protected:
40  void CreateFileExtensionsMap();
43  };
44 }
45 
46 #endif
#define MITKSEGMENTATION_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