Medical Imaging Interaction Toolkit  2018.4.99-bd7b41ba
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 (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 
14 #include "mitkIOAdapter.h"
15 #include "mitkItkImageFileReader.h"
16 
17 #include "itkVersion.h"
18 
19 namespace mitk
20 {
22  {
23  this->RegisterOverride("mitkIOAdapter",
24  "mitkItkImageFileReader",
25  "itk Image IO",
26  true,
27  itk::CreateObjectFunction<IOAdapter<ItkImageFileReader>>::New());
28  }
29 
31  const char *ItkImageFileIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
33  {
34  return "ItkImageFile IO Factory, allows the loading of images supported by ITK";
35  }
36 
37 } // end namespace mitk
DataCollection - Class to facilitate loading/accessing structured data.
const char * GetDescription(void) const override
IOAdapter class is an adapter class for instantiation of IO process objects. Additional this interfac...
Definition: mitkIOAdapter.h:61
const char * GetITKSourceVersion(void) const override