Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkDiffusionCoreObjectFactory.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 DiffusionCoreObjectFactory_H_INCLUDED
18 #define DiffusionCoreObjectFactory_H_INCLUDED
19 
20 #include "mitkCoreObjectFactory.h"
21 
22 namespace mitk {
23 
25 {
26  public:
28  itkFactorylessNewMacro(Self)
29  itkCloneMacro(Self)
30 
32 
33  virtual Mapper::Pointer CreateMapper(mitk::DataNode* node, MapperSlotId slotId) override;
34 
35  virtual void SetDefaultProperties(mitk::DataNode* node) override;
36 
37  virtual const char* GetFileExtensions() override;
38 
40 
41  virtual const char* GetSaveFileExtensions() override;
42 
44 
45 protected:
50 private:
51 
52  std::string m_ExternalFileExtensions;
53  std::string m_InternalFileExtensions;
54  std::string m_SaveFileExtensions;
55 
56  itk::ObjectFactoryBase::Pointer m_NrrdDiffusionImageIOFactory;
57  itk::ObjectFactoryBase::Pointer m_NrrdQBallImageIOFactory;
58 
59  itk::ObjectFactoryBase::Pointer m_NrrdDiffusionImageWriterFactory;
60  itk::ObjectFactoryBase::Pointer m_NrrdQBallImageWriterFactory;
61 };
62 
63 }
64 
65 #endif
66 
itk::SmartPointer< Self > Pointer
virtual const char * GetFileExtensions() override
virtual Mapper::Pointer CreateMapper(mitk::DataNode *node, MapperSlotId slotId) override
DataCollection - Class to facilitate loading/accessing structured data.
virtual void SetDefaultProperties(mitk::DataNode *node) override
virtual mitk::CoreObjectFactoryBase::MultimapType GetFileExtensionsMap() override
mitkClassMacro(DiffusionCoreObjectFactory, CoreObjectFactoryBase) static Pointer New()
virtual const char * GetSaveFileExtensions() override
virtual mitk::CoreObjectFactoryBase::MultimapType GetSaveFileExtensionsMap() 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