Medical Imaging Interaction Toolkit  2018.4.99-663e373e
Medical Imaging Interaction Toolkit
mitkMultilabelObjectFactory.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 MULTILABELOBJECTFACTORY_H_INCLUDED
14 #define MULTILABELOBJECTFACTORY_H_INCLUDED
15 
17 
18 #include <mitkAbstractFileIO.h>
19 
20 namespace mitk
21 {
23  {
24  public:
26  itkFactorylessNewMacro(Self);
27  itkCloneMacro(Self) Mapper::Pointer
28  CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
29  void SetDefaultProperties(mitk::DataNode *node) override;
30  std::string GetFileExtensions() override;
32  std::string GetSaveFileExtensions() override;
34 
35  protected:
37  ~MultilabelObjectFactory() override;
39  };
40 }
41 
42 #endif
std::string GetFileExtensions() override
Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
DataCollection - Class to facilitate loading/accessing structured data.
void SetDefaultProperties(mitk::DataNode *node) override
mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
std::string GetSaveFileExtensions() override
unsigned int MapperSlotId
Definition: mitkCommon.h:33
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57
mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override
mitkClassMacro(MultilabelObjectFactory, CoreObjectFactoryBase)