Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkPlanarFigureObjectFactory.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 PLANARFIGUREOBJECTFACTORY_H_INCLUDED
14 #define PLANARFIGUREOBJECTFACTORY_H_INCLUDED
15 
18 
19 namespace mitk
20 {
22  {
23  public:
24  mitkClassMacro(PlanarFigureObjectFactory, CoreObjectFactoryBase) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
25 
26  ~PlanarFigureObjectFactory() override;
27 
28  Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
29 
30  void SetDefaultProperties(mitk::DataNode *node) override;
31 
32  const char *GetFileExtensions() override;
33 
34  mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
35 
36  const char *GetSaveFileExtensions() override;
37 
38  mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
39 
40  DEPRECATED(void RegisterIOFactories());
41 
42  protected:
44  void CreateFileExtensionsMap();
47 
48  private:
49  itk::ObjectFactoryBase::Pointer m_PlanarFigureIOFactory;
50  itk::ObjectFactoryBase::Pointer m_PlanarFigureWriterFactory;
51  };
52 }
53 
54 #endif // PLANARFIGUREOBJECTFACTORY_H_INCLUDED
DataCollection - Class to facilitate loading/accessing structured data.
#define DEPRECATED(func)
Definition: mitkCommon.h:179
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
#define MITKPLANARFIGURE_EXPORT
unsigned int MapperSlotId
Definition: mitkCommon.h:33
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:64