Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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,
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 PLANARFIGUREOBJECTFACTORY_H_INCLUDED
18 #define PLANARFIGUREOBJECTFACTORY_H_INCLUDED
19 
22 
23 namespace mitk
24 {
26  {
27  public:
28  mitkClassMacro(PlanarFigureObjectFactory, CoreObjectFactoryBase) itkFactorylessNewMacro(Self) itkCloneMacro(Self)
29 
31 
32  virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override;
33 
34  virtual void SetDefaultProperties(mitk::DataNode *node) override;
35 
36  virtual const char *GetFileExtensions() override;
37 
38  virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override;
39 
40  virtual const char *GetSaveFileExtensions() override;
41 
42  virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override;
43 
44  DEPRECATED(void RegisterIOFactories());
45 
46  protected:
48  void CreateFileExtensionsMap();
51 
52  private:
53  itk::ObjectFactoryBase::Pointer m_PlanarFigureIOFactory;
54  itk::ObjectFactoryBase::Pointer m_PlanarFigureWriterFactory;
55  };
56 }
57 
58 #endif // PLANARFIGUREOBJECTFACTORY_H_INCLUDED
itk::SmartPointer< Self > Pointer
DataCollection - Class to facilitate loading/accessing structured data.
#define DEPRECATED(func)
Definition: mitkCommon.h:183
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
#define MITKPLANARFIGURE_EXPORT
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66