Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPlanarFigureIOFactory.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 "mitkPlanarFigureReader.h"
20 
21 #include "itkVersion.h"
22 
23 namespace mitk
24 {
26  {
27  this->RegisterOverride("mitkIOAdapter",
28  "mitkPlanarFigureReader",
29  "mitk PlanarFigure IO",
30  1,
31  itk::CreateObjectFunction<IOAdapter<PlanarFigureReader>>::New());
32  }
33 
35  const char *PlanarFigureIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
37  {
38  return "PlanarFigure IO Factory, allows the loading of .pf files";
39  }
40 
41 } // end namespace mitk
DataCollection - Class to facilitate loading/accessing structured data.
virtual const char * GetITKSourceVersion(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 * GetDescription(void) const override