Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkVtiFileIOFactory.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 "mitkVtiFileIOFactory.h"
18 #include "mitkIOAdapter.h"
19 #include "mitkVtiFileReader.h"
20 
21 #include "itkVersion.h"
22 
23 namespace mitk
24 {
26  {
27  this->RegisterOverride("mitkIOAdapter",
28  "mitkVtiFileReader",
29  "mitk Vti Image IO",
30  1,
31  itk::CreateObjectFunction<IOAdapter<VtiFileReader>>::New());
32  }
33 
35  const char *VtiFileIOFactory::GetITKSourceVersion() const { return ITK_SOURCE_VERSION; }
36  const char *VtiFileIOFactory::GetDescription() const { return "VtiFile IO Factory, allows the loading of vti files"; }
37 } // end namespace mitk
DataCollection - Class to facilitate loading/accessing structured data.
virtual const char * GetITKSourceVersion(void) const override
static Pointer New()
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