Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkPointSetIOFactory.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 
17 #include "mitkPointSetIOFactory.h"
18 #include "mitkIOAdapter.h"
19 #include "mitkPointSetReader.h"
20 
21 #include "itkVersion.h"
22 
23 namespace mitk
24 {
26  {
27  this->RegisterOverride("mitkIOAdapter",
28  "mitkPointSetReader",
29  "mitk PointSet IO",
30  1,
31  itk::CreateObjectFunction<IOAdapter<PointSetReader>>::New());
32  }
33 
35  const char *PointSetIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
37  {
38  return "PointSet IO Factory, allows the loading of MITK pointsets";
39  }
40 
41 } // end namespace mitk
static Pointer New()
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