Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkItkImageFileIOFactory.cpp
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 
18 #include "mitkIOAdapter.h"
19 #include "mitkItkImageFileReader.h"
20 
21 #include "itkVersion.h"
22 
23 namespace mitk
24 {
26  {
27  this->RegisterOverride("mitkIOAdapter",
28  "mitkItkImageFileReader",
29  "itk Image IO",
30  1,
31  itk::CreateObjectFunction<IOAdapter<ItkImageFileReader>>::New());
32  }
33 
35  const char *ItkImageFileIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
37  {
38  return "ItkImageFile IO Factory, allows the loading of images supported by ITK";
39  }
40 
41 } // end namespace mitk
DataCollection - Class to facilitate loading/accessing structured data.
virtual const char * GetDescription(void) const override
IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interfac...
Definition: mitkIOAdapter.h:65
virtual const char * GetITKSourceVersion(void) const override