Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFiberTrackingObjectFactory.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 MITKFIBERTRACKINGOBJECTFACTORY_H
18 #define MITKFIBERTRACKINGOBJECTFACTORY_H
19 
20 #include "mitkCoreObjectFactory.h"
21 
22 //modernized fiberbundle datastrucutre
23 #include "mitkFiberBundle.h"
26 
27 //#include "mitkFiberBundleThreadMonitorMapper3D.h"
28 //#include "mitkFiberBundleThreadMonitor.h"
29 
30 namespace mitk {
31 
33 {
34  public:
36  itkFactorylessNewMacro(Self)
37  itkCloneMacro(Self)
38 
40 
41  virtual Mapper::Pointer CreateMapper(mitk::DataNode* node, MapperSlotId slotId) override;
42 
43  virtual void SetDefaultProperties(mitk::DataNode* node) override;
44 
45  virtual const char* GetFileExtensions() override;
46 
48 
49  virtual const char* GetSaveFileExtensions() override;
50 
52 
53  void RegisterIOFactories();
54 
55 protected:
57  private:
58  void CreateFileExtensionsMap();
59  std::string m_ExternalFileExtensions;
60  std::string m_InternalFileExtensions;
61  std::string m_SaveFileExtensions;
62  MultimapType m_FileExtensionsMap;
63  MultimapType m_SaveFileExtensionsMap;
64 
65 };
66 
67 }
68 
69 
70 #endif // MITKFIBERTRACKINGOBJECTFACTORY_H
mitkClassMacro(FiberTrackingObjectFactory, CoreObjectFactoryBase) static Pointer New()
DataCollection - Class to facilitate loading/accessing structured data.
virtual const char * GetFileExtensions() override
virtual void SetDefaultProperties(mitk::DataNode *node) override
virtual const char * GetSaveFileExtensions() override
virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
unsigned int MapperSlotId
Definition: mitkCommon.h:37
std::multimap< std::string, std::string > MultimapType
Class for nodes of the DataTree.
Definition: mitkDataNode.h:66
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() override